Skip to content
  1. Dec 04, 2024
  2. Nov 19, 2024
  3. May 02, 2024
  4. Apr 04, 2024
    • Liam Aharon's avatar
      Fix Mermaid diagram rendering (#3875) · 0ef37c75
      Liam Aharon authored
      
      
      Closes https://github.com/paritytech/polkadot-sdk/issues/2977
      
      The issue appears to stem from the `aquamarine` crate failing to render
      diagrams in re-exported crates.
      
      e.g. as raised
      [here](https://github.com/paritytech/polkadot-sdk/issues/2977), diagrams
      would render at `frame_support::traits::Hooks` but not the re-exported
      doc `frame::traits::Hooks`, even if I added `aquamarine` as a `frame`
      crate dependency.
      
      To resolve this, I followed advice in
      https://github.com/mersinvald/aquamarine/issues/20 to instead render
      mermaid diagrams directly using JS by adding an `after-content.js`.
      
      ---
      
      Also fixes compile warnings, enables `--all-features` and disallows
      future warnings in CI.
      
      ---------
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      0ef37c75
  5. Mar 21, 2024
  6. Feb 26, 2024
  7. Dec 04, 2023
    • Chevdor's avatar
      PRDoc new schema (#1946) · 756a12d5
      Chevdor authored
      
      
      ## Overview
      
      This PR brings in the new version of prdoc v0.0.6 and allows:
      - local schema
      - local config
      - local template
      
      It also fixes the existing prdoc files to match the new schema.
      
      ## todo
      
      - [x] add a brief doc/tldr to help contributors get started
      - [x] test CI
      - [x] finalize schema
      - [x] publish the next `prdoc` cli version (v0.0.7 or above)
      
      ---------
      
      Co-authored-by: default avatarEgor_P <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      756a12d5