-
Notifications
You must be signed in to change notification settings - Fork 18
Versioned documenation hosting #104
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
Changes from all commits
74a1140
d66a31f
07f5baa
17f1133
1320f0b
e95095a
100afd4
361b0d6
c18e393
b9ae15b
a4fbd6c
7bc7e88
e62483e
cea25ad
061c29f
480be71
e98049d
539e614
f6a4bf2
5c41d58
446dd53
4fe57be
e4c6aff
cfc6157
3a7f111
bb63eb9
392d0a4
0bb73ba
cd3b2fe
6b6b86b
128a1de
9b93f39
f82732c
aa343f6
46963c1
96dce81
2d772b9
c082fe8
506b1da
244c44f
815ecde
22af779
93ba835
e919e17
f40e45f
a3f1738
5a95c35
530a68b
6961b30
02ba340
d52606d
655cb12
5e0af0e
4f32938
2e00786
d5d7843
905f97d
b93761e
18da4bb
f60282b
ac67c32
6e418d1
56e9bdd
26bacd1
415e8ea
7cc11b7
f67358d
552b922
679187c
e980a3b
9967207
44bf02a
9f31ce4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,19 +24,19 @@ Detailed installation instructions can be found in the | |
|
|
||
| The documentation for SaltProc can be found at | ||
| [arfc.github.io/saltproc/](http://arfc.github.io/saltproc/). | ||
| Additionally, the entire contents of that | ||
| website can be built from the doc directory in the source code using the | ||
| following steps | ||
| The entire contents of that | ||
| website can be built from the `doc` directory in the repositiory using the following steps with the [`conda`](https://docs.conda.io/en/latest/) tool: | ||
|
|
||
| 1. `pip install sphinx` | ||
| 2. `pip install sphinx_rtd_theme`. | ||
| 3. `cd doc/` | ||
| 4. `sphinx-apidoc --separate --force --output-dir=src/ ../saltproc` | ||
| 5. `make clean` | ||
| 6. `make html` | ||
| 1. `conda env create -f doc/doc-environment.yml` | ||
| 2. `cd doc/` | ||
| 3. `make clean` | ||
| 4. `make html` | ||
|
|
||
| After these steps, the website will be found in `saltproc/doc/_build/html`. | ||
|
|
||
| _Note_: We recommend using [`mamba`](https://github.com/mamba-org/mamba) CLI tool to install packages quickly. SaltProc has a compltex package dependency structure which can result is long environment solve times in the default ``conda`` solver. ``mamba`` is a reimplementation of ``conda`` in ``C++`` and we have found it is significantly faster. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For the future, you can import the readme in the docs so that you don't have to repeat the same info twice. That way both don't need to be updated if something changes.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The formatting for the |
||
|
|
||
|
|
||
| ## License | ||
|
|
||
| The license for this work can be found | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| {%- if current_version %} | ||
| <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions"> | ||
| <span class="rst-current-version" data-toggle="rst-current-version"> | ||
| <span class="fa fa-book"> Other Versions</span> | ||
| v: {{ current_version.name }} | ||
| <span class="fa fa-caret-down"></span> | ||
| </span> | ||
| <div class="rst-other-versions"> | ||
| {%- if versions.tags %} | ||
| <dl> | ||
| <dt>Tags</dt> | ||
| {%- for item in versions.tags %} | ||
| <dd><a href="{{ item.url }}">{{ item.name }}</a></dd> | ||
| {%- endfor %} | ||
| </dl> | ||
| {%- endif %} | ||
| {%- if versions.branches %} | ||
| <dl> | ||
| <dt>Branches</dt> | ||
| {%- for item in versions.branches %} | ||
| <dd><a href="{{ item.url }}">{{ item.name }}</a></dd> | ||
| {%- endfor %} | ||
| </dl> | ||
| {%- endif %} | ||
| </div> | ||
| </div> | ||
| {%- endif %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| name: saltproc-doc-env | ||
| channels: | ||
| - conda-forge | ||
| - defaults | ||
| dependencies: | ||
| - pyne>=0.5.11 | ||
| - numpy>=1.14.0 | ||
| - pytables | ||
| - networkx | ||
| - pydotplus | ||
| - sphinx | ||
| - sphinx_rtd_theme | ||
| - pip: | ||
| - sphinx-multiversion | ||
|
yardasol marked this conversation as resolved.
|
||
| - sphinxcontrib-apidoc | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <title>Redirecting to master branch</title> | ||
| <meta charset="utf-8"> | ||
| <meta http-equiv="refresh" content="0; url=./master/index.html"> | ||
| <link rel="canonical" href="https://arfc.github.io/saltproc/master/index.html"> | ||
| </head> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,13 @@ | ||
| name: saltproc-env | ||
| channels: | ||
| - conda-forge | ||
| - defaults | ||
| dependencies: | ||
| - pyne>=0.5.11 | ||
| - numpy>=1.14.0 | ||
| - pytables | ||
| - networkx | ||
| - pydotplus | ||
| - pytest | ||
| - sphinx | ||
| - sphinx_rtd_theme | ||
| - pip: | ||
| - argparse==1.4.0 |
Uh oh!
There was an error while loading. Please reload this page.