-
Notifications
You must be signed in to change notification settings - Fork 37
HPC-Stack Documentation #385
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 19 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
7888f1a
add docs
gspetro 055cab8
reformat intro to make reusable
gspetro b038f39
fixed ref link
gspetro 9002252
deleted extraneous files
gspetro 8b63ba4
updates to intro & pared down README.md
gspetro b2e87e1
Merge branch 'NOAA-EMC:develop' into develop
gspetro-NOAA 248bf25
edit conf.py
gspetro a723bd2
add sphinx_rst_theme to extensions in conf.py
gspetro da39f1c
more edits to conf.py
gspetro 3d99f1c
edits to conf.py
gspetro 50da53b
edits for rtd theme issue
gspetro c16a69e
edits for rtd theme issue
gspetro 559e3b0
fixed ReadTheDocs css issue
gspetro 485e7c6
fix another ReadTheDocs css issue
gspetro 52d227f
intro & install edits to remove SRW references
gspetro 174286c
hpc-stack-specific intro contained in one file
gspetro e89dad9
fix numbering in hpc-install
gspetro 362435a
Natalie's edits and prereqs outline
gspetro d1b8815
fix table & hyperlink issues
gspetro bf2320b
parameters update
gspetro 5784e7b
update container install
gspetro f8b3216
update to hpc module location
gspetro e35bc5b
added MPI definition, odds & ends
gspetro 41f27f0
fix typos
gspetro 98ba6d1
fix typos
gspetro e986b20
fix typos
gspetro d789753
fix formatting throughout
gspetro 6505ea6
fix typos/formatting
gspetro 26d0672
fix typos/formatting
gspetro 66d3cd6
moved disclaimer from Additional Notes to Intro
gspetro 5e73fc4
Merge branch 'develop' into develop
kgerheiser ec4e502
fix readme
gspetro b48602e
Merge Kyle's remote changes into local
gspetro 7495c03
Merge branch 'develop' into develop
kgerheiser 7db4e1e
Merge branch 'develop' into develop
kgerheiser be44c41
Merge branch 'develop' into develop
kgerheiser 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,20 @@ | ||
| # Minimal makefile for Sphinx documentation | ||
| # | ||
|
|
||
| # You can set these variables from the command line, and also | ||
| # from the environment for the first two. | ||
| SPHINXOPTS ?= | ||
| SPHINXBUILD ?= sphinx-build | ||
| SOURCEDIR = source | ||
| BUILDDIR = build | ||
|
|
||
| # Put it first so that "make" without argument is like "make help". | ||
| help: | ||
| @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
|
||
| .PHONY: help Makefile | ||
|
|
||
| # Catch-all target: route all unknown targets to Sphinx using the new | ||
| # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
| %: Makefile | ||
| @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
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,29 @@ | ||
| Steps to build and use the Sphinx documentation tool: | ||
|
|
||
| 1) Get Sphinx and sphinxcontrib-bibtex installed on your desktop from | ||
| http://www.sphinx-doc.org/en/master/usage/installation.html | ||
| https://sphinxcontrib-bibtex.readthedocs.io/en/latest/quickstart.html#installation | ||
|
|
||
| 2) Create a Sphinx documentation root directory: | ||
| % mkdir docs | ||
| % cd docs | ||
|
|
||
| 3) Initialize your Sphinx project (set up an initial directory structure) using | ||
| % sphinx-quickstart | ||
|
kgerheiser marked this conversation as resolved.
Outdated
|
||
|
|
||
| See http://www.sphinx-doc.org/en/master/usage/quickstart.html or | ||
| https://sphinx-rtd-tutorial.readthedocs.io/en/latest/sphinx-quickstart.html | ||
|
|
||
| for help. You can answer (ENTER) to most of the questions. | ||
|
|
||
| To build html: | ||
|
|
||
| From the directory above source and build, the sphinx project directory: | ||
|
|
||
| make html | ||
|
|
||
| Sphinx uses Latex to export the documentation as a PDF file. To build pdf: | ||
|
|
||
| make latexpdf | ||
|
|
||
| It will generate a PDF file in ./build/latex/<sphinx-project-name>.pdf | ||
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,35 @@ | ||
| @ECHO OFF | ||
|
|
||
| pushd %~dp0 | ||
|
|
||
| REM Command file for Sphinx documentation | ||
|
|
||
| if "%SPHINXBUILD%" == "" ( | ||
| set SPHINXBUILD=sphinx-build | ||
| ) | ||
| set SOURCEDIR=source | ||
| set BUILDDIR=build | ||
|
|
||
| if "%1" == "" goto help | ||
|
|
||
| %SPHINXBUILD% >NUL 2>NUL | ||
| if errorlevel 9009 ( | ||
| echo. | ||
| echo.The 'sphinx-build' command was not found. Make sure you have Sphinx | ||
| echo.installed, then set the SPHINXBUILD environment variable to point | ||
| echo.to the full path of the 'sphinx-build' executable. Alternatively you | ||
| echo.may add the Sphinx directory to PATH. | ||
| echo. | ||
| echo.If you don't have Sphinx installed, grab it from | ||
| echo.https://www.sphinx-doc.org/ | ||
| exit /b 1 | ||
| ) | ||
|
|
||
| %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
| goto end | ||
|
|
||
| :help | ||
| %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
|
|
||
| :end | ||
| popd |
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,2 @@ | ||
| sphinxcontrib-bibtex | ||
| sphinx_rtd_theme |
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,111 @@ | ||
| # Configuration file for the Sphinx documentation builder. | ||
| # | ||
| # This file only contains a selection of the most common options. For a full | ||
| # list see the documentation: | ||
| # https://www.sphinx-doc.org/en/master/usage/configuration.html | ||
|
|
||
| # -- Path setup -------------------------------------------------------------- | ||
|
|
||
| # If extensions (or modules to document with autodoc) are in another directory, | ||
| # add these directories to sys.path here. If the directory is relative to the | ||
| # documentation root, use os.path.abspath to make it absolute, like shown here. | ||
| # | ||
| import os | ||
| import sys | ||
| sys.path.insert(0, os.path.abspath('.')) | ||
|
|
||
|
|
||
| # -- Project information ----------------------------------------------------- | ||
|
|
||
| project = 'HPC-Stack Users Guide' | ||
| copyright = '2022, EMC/EPIC' | ||
| author = 'EMC/EPIC' | ||
|
|
||
| # The short X.Y version | ||
| version = '' | ||
| # The full version, including alpha/beta/rc tags | ||
| release = '' | ||
|
|
||
| numfig = True | ||
|
|
||
|
|
||
| # -- General configuration --------------------------------------------------- | ||
|
|
||
| # Add any Sphinx extension module names here, as strings. They can be | ||
| # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | ||
| # ones. | ||
| extensions = [ | ||
| 'sphinx.ext.autodoc', | ||
| 'sphinx.ext.doctest', | ||
| 'sphinx.ext.intersphinx', | ||
| 'sphinx.ext.todo', | ||
| 'sphinx.ext.coverage', | ||
| 'sphinx.ext.mathjax', | ||
| 'sphinx.ext.ifconfig', | ||
| 'sphinx.ext.viewcode', | ||
| 'sphinx.ext.githubpages', | ||
| 'sphinx.ext.napoleon', | ||
| 'sphinxcontrib.bibtex' | ||
| ] | ||
|
|
||
| bibtex_bibfiles = ['references.bib'] | ||
|
|
||
| # Add any paths that contain templates here, relative to this directory. | ||
| templates_path = ['_templates'] | ||
|
|
||
| # The suffix(es) of source filenames. | ||
| # You can specify multiple suffix as a list of string: | ||
| # | ||
| # source_suffix = ['.rst', '.md'] | ||
| source_suffix = '.rst' | ||
|
|
||
| # The master toctree document. | ||
| master_doc = 'index' | ||
|
|
||
| # The language for content autogenerated by Sphinx. Refer to documentation | ||
| # for a list of supported languages. | ||
| # | ||
| # This is also used if you do content translation via gettext catalogs. | ||
| # Usually you set "language" from the command line for these cases. | ||
| language = 'en' | ||
|
|
||
|
|
||
| # List of patterns, relative to source directory, that match files and | ||
| # directories to ignore when looking for source files. | ||
| # This pattern also affects html_static_path and html_extra_path. | ||
| exclude_patterns = [] | ||
|
|
||
| # The name of the Pygments (syntax highlighting) style to use. | ||
| pygments_style = 'sphinx' | ||
|
|
||
|
|
||
| # -- Options for HTML output ------------------------------------------------- | ||
|
|
||
| # The theme to use for HTML and HTML Help pages. See the documentation for | ||
| # a list of builtin themes. | ||
| # | ||
| html_theme = 'sphinx_rtd_theme' | ||
| html_theme_path = ["_themes", ] | ||
|
|
||
|
|
||
| # Theme options are theme-specific and customize the look and feel of a theme | ||
| # further. For a list of options available for each theme, see the | ||
| # documentation. | ||
| # | ||
| # html_theme_options = {} | ||
| html_theme_options = {"body_max_width": "none"} | ||
|
|
||
| # Add any paths that contain custom static files (such as style sheets) here, | ||
| # relative to this directory. They are copied after the builtin static files, | ||
| # so a file named "default.css" will overwrite the builtin "default.css". | ||
| html_static_path = ['_static'] | ||
|
|
||
| html_context = { | ||
| 'css_files': [ | ||
| '_static/theme_overrides.css', # override wide tables in RTD theme | ||
| ], | ||
| } | ||
|
|
||
| def setup(app): | ||
| app.add_css_file('custom.css') # may also be an URL | ||
|
|
Oops, something went wrong.
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.