Versioned documenation hosting#104
Conversation
|
Hello @yardasol! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2022-01-28 22:52:32 UTC |
|
@pep8speaks is saying that the |
|
I'm not familiar with YAML, but the code looks good to me. However, when I tried following the build directions given in the readme, I got an error. When I changed to the master branch and followed those directions, I did not get an error and was able to build successfully. I included the error message I got here: Running Sphinx v2.4.0 Extension error: |
|
@LukeSeifert Did you make a conda environment from the |
|
@munkm is the language I use to describe conda vs mamba appropriate and neutral? Don't want to ruffle any feathers... |
|
@LukeSeifert I changed the instructions. Could you try it again and let me know? |
|
|
||
| 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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
The formatting for the .rst files and the .md files is slightly different. I'll need to think of a solution to this later.
| following steps | ||
| The entire contents of that | ||
| website can be built from the `doc` directory in the repositiory using | ||
| the following steps |
There was a problem hiding this comment.
There are a few other env tools that exist. You should be explicit here that these directions are assuming a conda environment and we haven't tried it with another manager (and don't necessarily recommend it).
|
|
||
| Once all the dependencies are installed, SaltProc can be installed by | ||
| running the following commands from within the cloned directory | ||
| repository: |
There was a problem hiding this comment.
| repository: | |
| repository (and assuming the environment has been activated): |
| NAME = "saltproc" | ||
| MAINTAINER = "Oleksandr Yardas" | ||
| MAINTAINER_EMAIL = "arfc@googlegroups.com" | ||
| MAINTAINER_EMAIL = "oyardas2@illinois.edu" |
There was a problem hiding this comment.
are you sure you want all messages to go to your personal email? We could make a mailing list.
There was a problem hiding this comment.
Let's make a mailing list. I'll revert back to the googlegroups email here
Yes I think your language is good! |
Versioned documenation hosting 66bbd90
Summary of changes
This PR enables versioned documentation on the github pages website. You'll need to clone the repo and build the website yourself using the included
doc_environment.ymlfile to get all the necessary packages.Specifically, this PR
environment.ymlfile into a build/test verison (environment.yml) and a documentation version (doc/doc_environment.yml), and use each in their respective workflowsphinx-multiversionandsphinxcontib-apidocpackages to the conda environment in thedeploy-docsworkflowdoc/conf.pydoc/conf.pyfile.doc/_templates/versions.html)deploy-docsnow can be triggered by releasescache-dependenciesnow makes separate dependency caches for the newenvironment.ymldependencies and thedoc_environment.ymldependencies.test-saltprocnow only runs when pushes to the source code and tests are made.Types of changes
Required for Merging
Associated Issues and PRs
Associated Developers
Checklist for Reviewers
Reviewers should use this link to get to the
Review Checklist before they begin their review.