-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
79: Use `uv` to build the documentation r=Hoverbear a=pietroalbini This PR switches criticalup's documentation to pull shared resources from PyPI instead of using a submodule. It also switches managing Python to `uv`. Co-authored-by: Pietro Albini <pietro.albini@ferrous-systems.com> Co-authored-by: Ana Hobden <operator@hoverbear.org>
- Loading branch information
Showing
9 changed files
with
952 additions
and
63 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,19 +1,8 @@ | ||
#!/usr/bin/env python3 | ||
#!/usr/bin/env -S uv run | ||
# SPDX-FileCopyrightText: The Ferrocene Developers | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
import ferrocene_standalone_make_cli | ||
import os | ||
import subprocess | ||
import sys | ||
|
||
root = os.path.abspath(os.path.dirname(__file__)) | ||
subprocess.run( | ||
["git", "submodule", "update", "--init"], | ||
check=True, | ||
cwd=root, | ||
) | ||
|
||
sys.path.insert(0, "shared") | ||
import make_common # noqa: E402 | ||
|
||
make_common.main(root) | ||
ferrocene_standalone_make_cli.main(os.path.abspath(os.path.dirname(__file__))) |
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 @@ | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
# SPDX-FileCopyrightText: The Ferrocene Developers | ||
|
||
[project] | ||
name = "criticalup-docs" | ||
version = "0.0.0" | ||
|
||
requires-python = ">= 3.10" | ||
dependencies = [ | ||
"sphinx ~= 8.0", | ||
"sphinx-autobuild >= 0", # Doesn't use semver. | ||
"ferrocene-sphinx-shared-resources >= 0", | ||
"myst_parser ~= 4.0.0" | ||
] |
Submodule shared
deleted from
52d376
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
Oops, something went wrong.