Skip to content

Commit 63c832b

Browse files
voetbergrdimaio
authored andcommitted
Change the style in mkdocs.yml
1 parent 5e514cb commit 63c832b

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

tools/run_in_docker/generate_client_api_docs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ echo "Generating the Client Api Docs..."
66

77
yq e -i '.docs_dir = "/auto_generated/client_api"' mkdocs.yml
88
yq e -i '.site_name = "Rucio Python Client Documentation"' mkdocs.yml
9+
yq -i '.plugins[2].mkdocstrings.handlers.python.options.docstring_style = "numpy"' mkdocs.yml
910

1011
pip install --upgrade mkdocs mkdocs-gen-files mkdocstrings-python mkdocs-material
1112
mkdir -p /auto_generated/client_api

tools/run_in_docker/generate_docs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818

1919
cp rucio/etc/docker/test/extra/rucio_sqlite.cfg /opt/rucio/etc/rucio.cfg
2020

21-
"$SCRIPT_DIR"/generate_rest_api_docs.sh
22-
"$SCRIPT_DIR"/generate_bin_help_docs.sh
21+
# "$SCRIPT_DIR"/generate_rest_api_docs.sh
22+
# "$SCRIPT_DIR"/generate_bin_help_docs.sh
2323
"$SCRIPT_DIR"/generate_client_api_docs.sh
2424
"$SCRIPT_DIR"/generate_policy_docs.sh

tools/run_in_docker/generate_policy_docs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ function mkdocs_build {
1010
echo "Generating $2..."
1111
yq e -i '.docs_dir = "/auto_generated/'$1'"' mkdocs.yml
1212
yq e -i ".site_name = \"Rucio $2 Documentation\"" mkdocs.yml
13+
yq -i '.plugins[2].mkdocstrings.handlers.python.options.docstring_style = "sphinx"' mkdocs.yml
1314

1415
mkdocs build --clean --no-directory-urls --site-dir $1
1516
cp -r $1 /auto_generated/

tools/run_in_docker/mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ plugins:
4444
show_source: false
4545
allow_inspection: false
4646
merge_init_into_class: true
47-
docstring_style: "sphinx"
47+
docstring_style: "numpy"
4848
show_category_heading: true
4949
show_bases: false

0 commit comments

Comments
 (0)