-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
1,994 additions
and
195 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
docs/_build | ||
*.DS_Store | ||
*.DS_Store | ||
*.pyc |
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 |
---|---|---|
@@ -1,23 +1,31 @@ | ||
# Dockstore Documentation | ||
|
||
Dockstore is using [Read the Docs](https://readthedocs.org/) for documentation! | ||
Dockstore is using [Read the Docs](https://readthedocs.org/) for documentation! Please take a look at [our style guide](./style-guide.md) to learn about our approach to documentation. | ||
|
||
Below are some tips for setting up the documentation locally and updating the code. | ||
|
||
## Setting up locally | ||
|
||
Install pip dependencies (Requires Python) | ||
Install pip dependencies (Requires Python 3) | ||
`pip install -r requirements.txt` | ||
|
||
Go to the docs directory | ||
`cd docs` | ||
|
||
Generate the HTML | ||
Generate the HTML to generate HTML pages in a new folder called `_build` | ||
`make html` | ||
|
||
Check for broken links | ||
`make linkcheck` | ||
|
||
Open the _build/html/index.html in your browser! | ||
Open the `_build/html/index.html` in your browser! | ||
|
||
Developer Docs: https://wiki.oicr.on.ca/display/DOC/Read+The+Docs | ||
OICR affilates can view additional developer docs here: https://wiki.oicr.on.ca/display/DOC/Read+The+Docs | ||
|
||
## Writing/Maintaining docs | ||
Most of our docs are written in RST. A handful are written are in markdown. Both the RST and markdown documents will be rendered as HTML using the Python-based documentation manager Sphinx. | ||
|
||
Most of our docs can be maintained by modifying individual RST and MD files directly. There are a few exceptions: | ||
* When creating a new page, it must exist on the table of contents (`toctree`) which forms the sidebar on the left — in most cases this requires adding a new entry to index.rst | ||
* dictionary.rst is generated from entries in `docs/_attic/glossary_entries.py` by `docs/_attic/glossary_generator.py` in order to easily handle the complexities of large RST documents — dictionary.rst is regenerated upon every `make` command (changes will not appear in git unless `docs/_attic/glossary_entries.py` is modified), but this regeneration can also be called explictly with `make glossary` | ||
* Certain doi.org links, plus any images that link to internal documents, must have those links added to `linkcheck_ignore` in conf.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
DO NOT EDIT THIS FILE. This file is autogenerated from _attic/glossary_generator.py, update that instead. | ||
.dockstore.yml | ||
AGC | ||
Amazon Genomics CLI | ||
AnVIL Project | ||
API | ||
AWS | ||
BD Catalyst | ||
BDC | ||
BioData Catalyst | ||
Cancer Genomics Cloud | ||
categories | ||
CGC | ||
CLI | ||
cloud computing | ||
collection | ||
Common Workflow Language | ||
container | ||
Cromwell | ||
CWL | ||
DAG | ||
descriptor file | ||
Docker | ||
Docker container | ||
Docker image | ||
Dockerfile | ||
Dockstore CLI | ||
Dockstore GitHub App | ||
DOI | ||
DS-I Africa | ||
EC2 | ||
egress | ||
eLwazi | ||
entry | ||
faceted search | ||
FAIR | ||
GA4GH | ||
Galaxy | ||
Galaxy workflow | ||
GCP | ||
Gen3 | ||
GitHub App registration | ||
GitHub App tool | ||
GitHub App workflow | ||
immutable | ||
interoperable | ||
JSON | ||
Jupyter | ||
kernel | ||
Kids First | ||
labels | ||
launch with | ||
layer | ||
legacy registration | ||
legacy tool | ||
legacy workflow | ||
NCI | ||
NCPI | ||
Nextflow | ||
NFL | ||
NHGRI | ||
NHLBI | ||
NIH | ||
OICR | ||
ORCID | ||
organization | ||
parameter file | ||
preemptible | ||
Seven Bridges | ||
Spot Instance | ||
Task Execution Service | ||
Terra | ||
TES | ||
tool | ||
UCSC | ||
VM | ||
WDL | ||
WES | ||
workflow | ||
Workflow Description Language | ||
Workflow Execution Service | ||
YAML |
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,26 @@ | ||
# This script is run using `make glossary`, and generates glossary.rst | ||
# (or whatever you set glossary_outfile to). | ||
|
||
|
||
from glossary_entries import * # imports all the entries from glossary_entries.py as GlossEntry objects | ||
from glossarpy.GreatGloss import GreatGloss | ||
from glossarpy.GlossEntry import GlossEntry | ||
import gc # gc = garbage collector; we can use this to get instances of particular objects | ||
import os # used to delete old versions of glossary_outfile and glossary_outfile | ||
|
||
glossary_outfile = "dictionary.rst" # this one gets rendered | ||
contents_outfile = "_attic/glossary_entries_list_dynamic.txt" # does not get rendered, just for quick reference | ||
|
||
try: | ||
os.remove(glossary_outfile) | ||
os.remove(contents_outfile) | ||
except OSError: | ||
pass | ||
|
||
dockstore_dictionary = GreatGloss("Dockstore Dictionary") | ||
for glossary_object in gc.get_objects(): | ||
if isinstance(glossary_object, GlossEntry): | ||
dockstore_dictionary.add_entry(glossary_object) | ||
dockstore_dictionary.sort_entries() | ||
dockstore_dictionary.write_toc(contents_outfile, format="txt", skipSource=False, sourcefile=__file__) | ||
dockstore_dictionary.write_glossary(glossary_outfile, sourcefile=__file__) |
File renamed without changes
File renamed without changes
File renamed without changes.
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,9 @@ | ||
# Attic | ||
|
||
This dusty room houses the following: | ||
|
||
* Outdated documentation pages | ||
* Materials used for generating images or tables | ||
* A script for generating the glossary | ||
|
||
There's nothing particularly secret in here, but nothing in this folder (including this readme) should be directly rendered as-is on docs.dockstore.org, although the files/images they generate might be. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Some of these images are rendered using an HTML document in the attic folder. |
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.