Repository navigation
Hierarchies in the documentation drawn by the 'tree' directive - #298
Open
pytooling-claude[bot] wants to merge 3 commits into
Open
pytooling-claude[bot] wants to merge 3 commits into
pytooling-claude[bot] wants to merge 3 commits into
Conversation
The 'tree' directive renders as nested bullet lists in LaTeX, and a namespace package's directory tree has 5 levels, which ends lualatex with "Too deeply nested". Option 'maxlistdepth' of package 'sphinx' lifts LaTeX' limit. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
The example directory structures on the pages RepositoryStructure, index, Parameters, CompletePipeline and UnitTesting are drawn by pyTooling.Sphinx' 'tree' directive: 📂 directories, 📦 Python packages, 🐍 Python files, 📄 other files. index.rst named the documentation directory 'docs/'; it is 'doc/', as everywhere else. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
A new topic "Workflow Hierarchy" lists the jobs of CompletePipeline.yml in job order, each with the reusable workflow it calls, and the actions that workflow uses; composite actions are followed into their own steps. It is generated from the YAML files. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation
treedirective instead of indented text in a code block:📂 directory, 📦 Python package, 🐍 Python file, 📄 other file. Entries can be folded.
RepositoryStructure.rst,index.rst(example pipeline),UnitTesting.rst, and the example directory structures ofParameters.rst(2) andCompletePipeline.rst(4).index.rstnamed the documentation directorydocs/; it isdoc/, as everywhere else.CompletePipeline.rst: new topic Workflow Hierarchy - the 23 jobs ofCompletePipeline.ymlin job order, each withthe reusable workflow it calls (linked to its job template page, the job name as description) and the actions that
workflow uses; composite actions (🧩) are followed into their own steps, third-party actions (🔗) and the MiKTeX
container image (🐳) are leaves. Initially only the job level is expanded. The tree (106 entries) is generated from
the YAML files by the script below; after a workflow changes, run it and replace the tree.
doc/conf.py: package optionmaxlistdepth=10forsphinx. A tree is rendered as nested bullet lists in LaTeX, andthe namespace package's directory tree has 5 levels - more than LaTeX' default of 4 ("Too deeply nested").
Development.rst(not a tree), log output, a Markdown default value, and theDependencies dropdown on the CompletePipeline page (a nested list with pip/apt/MSYS2 entries - but outdated, see
Known Issues).
Known Issues
CheckReleaseVersion.yml, lists nothing forParameters.yml(which usescheckoutandsetup-python), and omitsComputeRequirements/ComputePacboyPackagesunder UnitTesting, StaticTypeCheck and ApplicationTesting.Generator script (
WorkflowTree.py)Run:
python3 WorkflowTree.py <Actions checkout> [CompletePipeline.yml ...], indent the output by 3 spaces inside thetopic. It follows
pyTooling/upload-artifactandpyTooling/download-artifactinto theiraction.ymlfrom localclones next to the checkout.
Related Issues and Pull-Requests
tree.