-
Notifications
You must be signed in to change notification settings - Fork 40
Added links to other component docs #48
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
0f0da2e
Added links to other component docs
philipstarkey 8e5ea93
black formatting
philipstarkey b3087a6
Implemented some review changes
philipstarkey 58ed4fd
Added dynamic generation of labscript suite component table
philipstarkey a00526b
Fixed bug where component docs URLs were alsways using "latest".
philipstarkey cb399ec
Split out metapackage link in generalised config
philipstarkey 42172f5
reversed order of sections in .gitignore
philipstarkey d697cb9
Relocated custom sphinx gitignore rules (and restored the original)
philipstarkey 8159129
Updated .gitignore with latest GitHub defaults
philipstarkey 6abe116
Moved auto generated components.rst to a jinja2 template
philipstarkey d5e175b
Simplified sphinx conf by moving logic into template
philipstarkey 3b8377d
Addressing latest review comments
philipstarkey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{% if current_project != 'the labscript suite' %} | ||
.. toctree:: | ||
:maxdepth: 2 | ||
:hidden: | ||
|
||
the labscript suite <{{intersphinx_mapping['labscript-suite'][0]}}> | ||
|
||
{% endif %} | ||
*labscript suite* components | ||
============================ | ||
|
||
The *labscript suite* is modular by design, and is comprised of: | ||
|
||
.. list-table:: Python libraries | ||
:widths: 10 90 | ||
:header-rows: 0 | ||
|
||
{% for prog, item in programs.items() if item.type == 'lib' %} | ||
* - .. image:: {{img_path}}/{{item.icon}} | ||
:target: {{intersphinx_mapping['%s' | format(prog)][0]}} | ||
:class: labscript-suite-icon | ||
- |{{prog}}|_ --- {{item.desc}} | ||
{% endfor %} | ||
|
||
.. list-table:: Graphical applications | ||
:widths: 10 90 | ||
:header-rows: 0 | ||
|
||
{% for prog, item in programs.items() if item.type == 'gui' %} | ||
* - .. image:: {{img_path}}/{{item.icon}} | ||
:target: {{intersphinx_mapping['%s' | format(prog)][0]}} | ||
:class: labscript-suite-icon | ||
- |{{prog}}|_ --- {{item.desc}} | ||
{% endfor %} | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:hidden: | ||
|
||
{% for prog in programs|sort if prog != current_project %} | ||
{{prog}} <{{intersphinx_mapping['%s' | format(prog)][0]}}> | ||
{% endfor %} | ||
|
||
{% for prog in programs %} | ||
.. |{{prog}}| replace:: **{{prog}}** | ||
.. _{{prog}}: {{intersphinx_mapping['%s' | format(prog)][0]}} | ||
{% endfor %} |
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.