This repository has been archived by the owner on May 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from samjwu/rtd
Documentation - Add sphinx configs for Read the Docs/RTD
- Loading branch information
Showing
13 changed files
with
384 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" # See documentation for possible values | ||
directory: "/docs/.sphinx" # Location of package manifests | ||
open-pull-requests-limit: 10 | ||
schedule: | ||
interval: "daily" |
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,14 @@ | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
version: 2 | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
formats: [htmlzip] | ||
|
||
python: | ||
version: "3.8" | ||
install: | ||
- requirements: docs/.sphinx/requirements.txt |
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,10 @@ | ||
# Anywhere {branch} is used, the branch name will be substituted. | ||
# These comments will also be removed. | ||
root: index | ||
subtrees: | ||
- numbered: False | ||
entries: | ||
- file: env | ||
- file: usage | ||
- file: build | ||
- file: test |
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 @@ | ||
rocm-docs-core==0.2.0 |
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,268 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.10 | ||
# by the following command: | ||
# | ||
# pip-compile .sphinx/requirements.in | ||
# | ||
accessible-pygments==0.0.4 | ||
# via pydata-sphinx-theme | ||
alabaster==0.7.13 | ||
# via sphinx | ||
asttokens==2.2.1 | ||
# via stack-data | ||
attrs==22.2.0 | ||
# via | ||
# jsonschema | ||
# jupyter-cache | ||
babel==2.12.1 | ||
# via | ||
# pydata-sphinx-theme | ||
# sphinx | ||
backcall==0.2.0 | ||
# via ipython | ||
beautifulsoup4==4.12.2 | ||
# via pydata-sphinx-theme | ||
breathe==4.34.0 | ||
# via rocm-docs-core | ||
certifi==2022.12.7 | ||
# via requests | ||
cffi==1.15.1 | ||
# via pynacl | ||
charset-normalizer==3.1.0 | ||
# via requests | ||
click==8.1.3 | ||
# via | ||
# jupyter-cache | ||
# sphinx-external-toc | ||
comm==0.1.3 | ||
# via ipykernel | ||
debugpy==1.6.7 | ||
# via ipykernel | ||
decorator==5.1.1 | ||
# via ipython | ||
deprecated==1.2.13 | ||
# via pygithub | ||
docutils==0.16 | ||
# via | ||
# breathe | ||
# myst-parser | ||
# pydata-sphinx-theme | ||
# rocm-docs-core | ||
# sphinx | ||
executing==1.2.0 | ||
# via stack-data | ||
fastjsonschema==2.16.3 | ||
# via nbformat | ||
gitdb==4.0.10 | ||
# via gitpython | ||
gitpython==3.1.31 | ||
# via rocm-docs-core | ||
greenlet==2.0.2 | ||
# via sqlalchemy | ||
idna==3.4 | ||
# via requests | ||
imagesize==1.4.1 | ||
# via sphinx | ||
importlib-metadata==6.3.0 | ||
# via | ||
# jupyter-cache | ||
# myst-nb | ||
ipykernel==6.22.0 | ||
# via myst-nb | ||
ipython==8.12.0 | ||
# via | ||
# ipykernel | ||
# myst-nb | ||
jedi==0.18.2 | ||
# via ipython | ||
jinja2==3.1.2 | ||
# via | ||
# myst-parser | ||
# sphinx | ||
jsonschema==4.17.3 | ||
# via nbformat | ||
jupyter-cache==0.5.0 | ||
# via myst-nb | ||
jupyter-client==8.1.0 | ||
# via | ||
# ipykernel | ||
# nbclient | ||
jupyter-core==5.3.0 | ||
# via | ||
# ipykernel | ||
# jupyter-client | ||
# nbformat | ||
linkify-it-py==1.0.3 | ||
# via myst-parser | ||
markdown-it-py==2.2.0 | ||
# via | ||
# mdit-py-plugins | ||
# myst-parser | ||
markupsafe==2.1.2 | ||
# via jinja2 | ||
matplotlib-inline==0.1.6 | ||
# via | ||
# ipykernel | ||
# ipython | ||
mdit-py-plugins==0.3.5 | ||
# via myst-parser | ||
mdurl==0.1.2 | ||
# via markdown-it-py | ||
myst-nb==0.17.1 | ||
# via rocm-docs-core | ||
myst-parser[linkify]==0.18.1 | ||
# via | ||
# myst-nb | ||
# rocm-docs-core | ||
nbclient==0.5.13 | ||
# via | ||
# jupyter-cache | ||
# myst-nb | ||
nbformat==5.8.0 | ||
# via | ||
# jupyter-cache | ||
# myst-nb | ||
# nbclient | ||
nest-asyncio==1.5.6 | ||
# via | ||
# ipykernel | ||
# nbclient | ||
packaging==23.1 | ||
# via | ||
# ipykernel | ||
# pydata-sphinx-theme | ||
# sphinx | ||
parso==0.8.3 | ||
# via jedi | ||
pexpect==4.8.0 | ||
# via ipython | ||
pickleshare==0.7.5 | ||
# via ipython | ||
platformdirs==3.2.0 | ||
# via jupyter-core | ||
prompt-toolkit==3.0.38 | ||
# via ipython | ||
psutil==5.9.4 | ||
# via ipykernel | ||
ptyprocess==0.7.0 | ||
# via pexpect | ||
pure-eval==0.2.2 | ||
# via stack-data | ||
pycparser==2.21 | ||
# via cffi | ||
pydata-sphinx-theme==0.13.3 | ||
# via sphinx-book-theme | ||
pygithub==1.57 | ||
# via rocm-docs-core | ||
pygments==2.15.0 | ||
# via | ||
# accessible-pygments | ||
# ipython | ||
# pydata-sphinx-theme | ||
# sphinx | ||
pyjwt==2.6.0 | ||
# via pygithub | ||
pynacl==1.5.0 | ||
# via pygithub | ||
pyrsistent==0.19.3 | ||
# via jsonschema | ||
python-dateutil==2.8.2 | ||
# via jupyter-client | ||
pyyaml==6.0 | ||
# via | ||
# jupyter-cache | ||
# myst-nb | ||
# myst-parser | ||
# sphinx-external-toc | ||
pyzmq==25.0.2 | ||
# via | ||
# ipykernel | ||
# jupyter-client | ||
requests==2.28.2 | ||
# via | ||
# pygithub | ||
# sphinx | ||
rocm-docs-core==0.2.0 | ||
# via -r .sphinx/requirements.in | ||
six==1.16.0 | ||
# via | ||
# asttokens | ||
# python-dateutil | ||
smmap==5.0.0 | ||
# via gitdb | ||
snowballstemmer==2.2.0 | ||
# via sphinx | ||
soupsieve==2.4 | ||
# via beautifulsoup4 | ||
sphinx==4.3.1 | ||
# via | ||
# breathe | ||
# myst-nb | ||
# myst-parser | ||
# pydata-sphinx-theme | ||
# rocm-docs-core | ||
# sphinx-book-theme | ||
# sphinx-copybutton | ||
# sphinx-design | ||
# sphinx-external-toc | ||
# sphinx-notfound-page | ||
sphinx-book-theme==1.0.0rc2 | ||
# via rocm-docs-core | ||
sphinx-copybutton==0.5.1 | ||
# via rocm-docs-core | ||
sphinx-design==0.3.0 | ||
# via rocm-docs-core | ||
sphinx-external-toc==0.3.1 | ||
# via rocm-docs-core | ||
sphinx-notfound-page==0.8.3 | ||
# via rocm-docs-core | ||
sphinxcontrib-applehelp==1.0.4 | ||
# via sphinx | ||
sphinxcontrib-devhelp==1.0.2 | ||
# via sphinx | ||
sphinxcontrib-htmlhelp==2.0.1 | ||
# via sphinx | ||
sphinxcontrib-jsmath==1.0.1 | ||
# via sphinx | ||
sphinxcontrib-qthelp==1.0.3 | ||
# via sphinx | ||
sphinxcontrib-serializinghtml==1.1.5 | ||
# via sphinx | ||
sqlalchemy==1.4.47 | ||
# via jupyter-cache | ||
stack-data==0.6.2 | ||
# via ipython | ||
tabulate==0.9.0 | ||
# via jupyter-cache | ||
tornado==6.2 | ||
# via | ||
# ipykernel | ||
# jupyter-client | ||
traitlets==5.9.0 | ||
# via | ||
# comm | ||
# ipykernel | ||
# ipython | ||
# jupyter-client | ||
# jupyter-core | ||
# matplotlib-inline | ||
# nbclient | ||
# nbformat | ||
typing-extensions==4.5.0 | ||
# via | ||
# myst-nb | ||
# myst-parser | ||
# pydata-sphinx-theme | ||
uc-micro-py==1.0.1 | ||
# via linkify-it-py | ||
urllib3==1.26.15 | ||
# via requests | ||
wcwidth==0.2.6 | ||
# via prompt-toolkit | ||
wrapt==1.15.0 | ||
# via deprecated | ||
zipp==3.15.0 | ||
# via importlib-metadata | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
# setuptools |
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,12 @@ | ||
# Building | ||
|
||
```bash | ||
mkdir build | ||
cd build | ||
|
||
cmake .. | ||
|
||
make -j | ||
``` | ||
|
||
The hipcc and hipconfig executables are created in the current build folder. These executables need to be copied to /opt/rocm/hip/bin folder location. Packaging and installing will be handled in future releases. |
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,13 @@ | ||
# 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 | ||
|
||
from rocm_docs import ROCmDocs | ||
|
||
docs_core = ROCmDocs("HIPCC Documentation") | ||
docs_core.setup() | ||
|
||
for sphinx_var in ROCmDocs.SPHINX_VARS: | ||
globals()[sphinx_var] = getattr(docs_core, sphinx_var) |
Oops, something went wrong.