Skip to content

Commit

Permalink
Move docs building files to the root (#422)
Browse files Browse the repository at this point in the history
Required for Netlify.
  • Loading branch information
brettcannon authored Jan 29, 2025
1 parent 8d53c84 commit 3b0436a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ man: _man-md

# Create a lock file for docs/
docs-lock:
pipx run --spec pip-tools pip-compile --generate-hashes --allow-unsafe -o docs/requirements.txt docs/requirements.in
pipx run --spec pip-tools pip-compile --generate-hashes --allow-unsafe -o requirements.txt requirements.in

# Update insfall instructions for a specific version
docs-install:
Expand All @@ -75,7 +75,7 @@ docs-venv:
rm -rf {{ VENV }}
fi
cargo run -- -m venv {{ VENV }}
cargo run -- -m pip install --quiet --disable-pip-version-check -r docs/requirements.txt
cargo run -- -m pip install --quiet --disable-pip-version-check -r requirements.txt
# Launch the documentation dev server
docs-dev: docs-venv
Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ edit_uri: "https://github.dev/brettcannon/python-launcher/blob/main/docs/"
site_description: "Launch your Python interpreter the lazy/smart way!"
site_author: "Brett Cannon"
copyright: "© 2022 Brett Cannon"
docs_dir: docs
site_dir: site
theme:
name: "material"
icon:
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3b0436a

Please sign in to comment.