bottom/docs
Ada Ahmed 479276bd53
feature: Support AMDGPU Data Collection (#1641)
* gpu: support amdgpu tracking

Co-authored-by: lvxnull2 <184518908+lvxnull2@users.noreply.github.com>

* gpu: dependency-free amdgpu parsing

gpu: fix clippy issues

Co-authored-by: lvxnull2 <184518908+lvxnull2@users.noreply.github.com>

* gpu: change memory usage percentage to be scaled to total memory instead of current memory usage

gpu: requested syntax changes

Co-authored-by: lvxnull2 <184518908+lvxnull2@users.noreply.github.com>

---------

Co-authored-by: lvxnull2 <184518908+lvxnull2@users.noreply.github.com>
2024-12-20 02:48:32 -05:00
..
content feature: Support AMDGPU Data Collection (#1641) 2024-12-20 02:48:32 -05:00
.gitignore docs: change code font and enable privacy (#1381) 2024-01-11 03:46:28 -05:00
README.md docs: update doc about mkdocs, changelog, and versioning (#1561) 2024-08-13 22:44:32 -04:00
mkdocs.yml refactor: refactor styling options (#1499) 2024-07-29 09:03:35 +00:00
requirements.txt docs: bump docs requirements.txt (#1638) 2024-11-29 20:19:04 +00:00
serve.sh add last revision date (#1380) 2024-01-11 03:20:35 -05:00

README.md

Extended Documentation

This is where the extended documentation resides, hosted on GitHub Pages. We use MkDocs, Material for MkDocs, and mike.

Documentation is currently built using Python 3.11, though it should work fine with older versions.

Running locally

One way is to just run serve.sh. Alternatively, the manual steps are, assuming your current working directory is the bottom repo:

# Change directories to the documentation.
cd docs/

# Create and activate venv.
python -m venv venv
source venv/bin/activate

# Install requirements
pip install -r requirements.txt

# Run mkdocs
venv/bin/mkdocs serve

Deploying

Deploying is done via mike in order to get versioning. Typically, this is done through CI, but can be done manually if needed.

Nightly docs

cd docs
mike deploy nightly --push

Stable docs

cd docs

# Rename the previous stable version
mike retitle --push stable $OLD_STABLE_VERSION

# Set the newest version as the most recent stable version
mike deploy --push --update-aliases $RELEASE_VERSION stable

# Append a "(stable)" string to the end.
mike retitle --push $RELEASE_VERSION "$RELEASE_VERSION (stable)"