Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Add toctree shortcode docs and render option in the Python script #406

Merged

Conversation

alphapapa
Copy link
Contributor

See #397.

This allows each shortcode file to pass a dict of options to this
Python program.

Currently the only one supported is "render", which may be set to
False to disable rendering of the shortcode into the documentation.
This is useful when a shortcode will not render meaningfully into the
documentation file (e.g. the "toctree" shortcode only works when in an
appropriate file hierarchy).
Copy link

netlify bot commented Nov 13, 2023

Deploy Preview for scientific-python-hugo-theme ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 149601a
🔍 Latest deploy log https://app.netlify.com/sites/scientific-python-hugo-theme/deploys/655284d774ffff0008292d40
😎 Deploy Preview https://deploy-preview-406--scientific-python-hugo-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 82
Accessibility: 100
Best Practices: 100
SEO: 92
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@alphapapa alphapapa mentioned this pull request Nov 13, 2023
18 tasks
@alphapapa
Copy link
Contributor Author

pre-commit.ci autofix

@alphapapa alphapapa self-assigned this Nov 13, 2023
@alphapapa alphapapa added type: Documentation Improvements or additions to documentation type: Enhancement New feature or request labels Nov 13, 2023
@alphapapa alphapapa added this to the 0.5 milestone Nov 13, 2023
@jarrodmillman jarrodmillman removed this from the 0.5 milestone Nov 13, 2023
@jarrodmillman jarrodmillman merged commit b1dd9bc into scientific-python:main Nov 13, 2023
8 checks passed
@jarrodmillman jarrodmillman added this to the 0.5 milestone Nov 13, 2023
@alphapapa alphapapa deleted the wip/397-doc-toctree-shortcode branch November 13, 2023 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: Documentation Improvements or additions to documentation type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants