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

Fix appending to existing template path #3

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Jan 10, 2024

This moves appending to an already existing template_path config value, to make sure the config was read already before we append, e.g. when providing template_path = ['_templates'] in docs/conf.py.

I also tested that it still works if you provide your custom template under docs/_templates and it is not overwritten by the default templates of sphinx-apipages.

@hagenw hagenw merged commit 4d63ee5 into main Jan 10, 2024
2 checks passed
@hagenw hagenw deleted the fix-template-path branch January 10, 2024 10:15
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.

1 participant