Skip to content

Conversation

@CosmicHorrorDev
Copy link
Contributor

This tweaks the docs.rs setup, so that

  • Docs are built with all features active
  • The comrak::plugins::syntect module and ComrakExtensionOptions.shortcodes field are now labeled that they're activated by a feature

You can see the docs locally by running

RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --open

Motivation: I had to go digging in the source code to figure out how to enable shortcodes since the current docs weren't built with that feature

@kivikakk kivikakk force-pushed the feature-doc-labels branch from 856c600 to 5593b7a Compare May 31, 2023 00:52
@kivikakk
Copy link
Owner

Thank you!

@kivikakk kivikakk merged commit a87860c into kivikakk:main May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants