-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update .github/workflows/flakeheaven.yml * added packages * fix many glossary terms * added blacken-docs * testing blacken-docs * testing blacken-docs * testing blacken-docs * testing action suggester * testing action suggester * testing action suggester * remove additional file commits * added run step for blacken-docs * testing action-suggester with flakeheaven * updated glossary * updated glossary references * added :chem: role * changed chem_role setup * merge from master branch * removed m/z & peak from glossary * removed additional lower level glossary terms * merged master branch * added missinge linenos * changed indentation * merge with master * chagend tsv separator to t * use other suggestion action * Update code-blocks-linting.yaml --------- Co-authored-by: matteopilz <[email protected]>
- Loading branch information
1 parent
4d9551d
commit 0068b5c
Showing
48 changed files
with
858 additions
and
787 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
docs/source/_autosummary/ | ||
docs/source/_build/ | ||
docs/build/ | ||
docs/source/_autosummary |
This file contains 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,15 @@ | ||
from docutils.nodes import math | ||
|
||
|
||
def chem_role(name, rawtext, text, lineno, inliner, options={}, content=[]): | ||
latex = rf'\ce{{{text}}}' | ||
node = math(rawtext, latex, **options) | ||
return [node], [] | ||
|
||
|
||
def setup(app): | ||
"""Install the plugin. | ||
:param app: Sphinx application context. | ||
""" | ||
app.add_role('chem', chem_role) | ||
return {'parallel_read_safe': True} |
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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
Oops, something went wrong.