Repository navigation
Remove docs from minimum profile - #638
Conversation
Introduces a question AddLocalDocumentation to control the existence of the `docs` folder. If the user selects "Online documentation", then "Local documentation" is implied. The logic behind this approach is simply to define the computed variable `AddLocalDocumentation` based on either flag. The downside is that the generated answers will still only show the online flag. Related to #593
|
I just realised that there are some interactions with |
|
The interaction being that the action will try to build inexistent docs if we select one and not the other. |
I think we can move Documentation option in SelectGitHubActions menu: python-template/copier/questions/features_code_quality.yml Lines 50 to 51 in c30e9a4 to the documentation menu: python-template/copier/questions/features_documentation.yml Lines 26 to 27 in c30e9a4 |
Move AddGitHubActionDocumentation to features_documentation.yml to enable the flag AddLocalDocumentation when AddGitHubActionDocumentation is selected. Related to #593
|
I've added a commit with that change. |
Remove sphinx related packages from the dev list in pyproject if AddLocalDocumentation is false. Related to #593
|
Merging bypassing requirements. Thanks for the review |
Checklist before requesting a review
Type of change
List of related issues or pull requests**
Refs:
Describe the changes made in this pull request
Introduces a question AddLocalDocumentation to control the existence of
the
docsfolder.If the user selects "Online documentation", then "Local documentation"
is implied. The logic behind this approach is simply to define the
computed variable
AddLocalDocumentationbased on either flag.The downside is that the generated answers will still only show the
online flag.
Instructions to review the pull request
Possible things to check:
strategy=minimal, thendocsare not presentstrategy=recommended, thendocsare presentstrategy=askand onlyOnline documentationis selected, thedocsare presentInstall the requirements
Create a new package using the template
Then run sphinx