Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Development
swh-docs
Commits
07a363bc
Commit
07a363bc
authored
3 weeks ago
by
David Douard
Browse files
Options
Downloads
Patches
Plain Diff
Add support for swh package using src/swh directory structure
parent
50d8fe27
No related branches found
Branches containing commit
Tags
swh-alter-20250314.1
Tags containing commit
1 merge request
!473
Add support for swh package using src/swh directory structure
Pipeline
#13619
passed
3 weeks ago
Stage: external
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile.sphinx
+1
-1
1 addition, 1 deletion
Makefile.sphinx
docs/devel/bin/ln-sphinx-subprojects
+2
-0
2 additions, 0 deletions
docs/devel/bin/ln-sphinx-subprojects
with
3 additions
and
1 deletion
Makefile.sphinx
+
1
−
1
View file @
07a363bc
...
...
@@ -34,7 +34,7 @@ sphinx/%: $(apidoc_dep)
apidoc
:
$(apidoc_dep)
apidoc-stamp
:
$(
SPHINXAPIDOC
)
$(
APIDOC_OPTS
)
-o
$(
APIDOC_DIR
)
../swh
$(
APIDOC_SWH_EXCLUDES
)
$(
SPHINXAPIDOC
)
$(
APIDOC_OPTS
)
-o
$(
APIDOC_DIR
)
`
if
[
-d
../src/swh
]
;
then
echo
../src/swh
;
else
echo
../swh
;
fi
`
$(
APIDOC_SWH_EXCLUDES
)
# to silent Sphinx warnings about apidoc documents not included in any toctree
find
$(
shell
pwd
)
/apidoc
-name
"*.rst"
| xargs
sed
-i
'1i:orphan:\n'
touch
$@
...
...
This diff is collapsed.
Click to expand it.
docs/devel/bin/ln-sphinx-subprojects
+
2
−
0
View file @
07a363bc
...
...
@@ -16,6 +16,8 @@ create_links () {
fi
if
[
-d
"../../../
${
pymodule
}
/swh"
]
;
then
cp
-r
-f
--symbolic-link
$(
realpath
../../../
${
pymodule
}
/swh/
*
)
sources/swh/
elif
[
-d
"../../../
${
pymodule
}
/src/swh"
]
;
then
cp
-r
-f
--symbolic-link
$(
realpath
../../../
${
pymodule
}
/src/swh/
*
)
sources/swh/
fi
pushd
../../../
${
pymodule
}
for
EXT
in
rst md
;
do
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment