File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ echo "Generating the Client Api Docs..."
6
6
7
7
yq e -i ' .docs_dir = "/auto_generated/client_api"' mkdocs.yml
8
8
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
9
10
10
11
pip install --upgrade mkdocs mkdocs-gen-files mkdocstrings-python mkdocs-material
11
12
mkdir -p /auto_generated/client_api
Original file line number Diff line number Diff line change 18
18
19
19
cp rucio/etc/docker/test/extra/rucio_sqlite.cfg /opt/rucio/etc/rucio.cfg
20
20
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
23
23
" $SCRIPT_DIR " /generate_client_api_docs.sh
24
24
" $SCRIPT_DIR " /generate_policy_docs.sh
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ function mkdocs_build {
10
10
echo " Generating $2 ..."
11
11
yq e -i ' .docs_dir = "/auto_generated/' $1 ' "' mkdocs.yml
12
12
yq e -i " .site_name = \" Rucio $2 Documentation\" " mkdocs.yml
13
+ yq -i ' .plugins[2].mkdocstrings.handlers.python.options.docstring_style = "sphinx"' mkdocs.yml
13
14
14
15
mkdocs build --clean --no-directory-urls --site-dir $1
15
16
cp -r $1 /auto_generated/
Original file line number Diff line number Diff line change @@ -44,6 +44,6 @@ plugins:
44
44
show_source : false
45
45
allow_inspection : false
46
46
merge_init_into_class : true
47
- docstring_style : " sphinx "
47
+ docstring_style : " numpy "
48
48
show_category_heading : true
49
49
show_bases : false
You can’t perform that action at this time.
0 commit comments