Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-webui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
caosdb
Software
caosdb-webui
Commits
fca3f54c
Commit
fca3f54c
authored
3 months ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Patches
Plain Diff
FIX: Adapt Makefile to modern npm settings
parent
a9381f0c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!148
F fix jsdoc
,
!147
Release 0.15.1
Pipeline
#59135
passed
3 months ago
Stage: setup
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/doc/Makefile
+5
-6
5 additions, 6 deletions
src/doc/Makefile
with
5 additions
and
6 deletions
src/doc/Makefile
+
5
−
6
View file @
fca3f54c
...
...
@@ -24,16 +24,15 @@
# It is based upon the autocreated makefile for Sphinx documentation.
# You can set these variables from the command line, and also
# from the environment for the first
two
.
# from the environment for the first
four
.
SPHINXOPTS
?=
-a
SPHINXBUILD
?=
sphinx-build
NPM_PREFIX
?=
../..
JSDOC_BIN
?=
jsdoc
# SPHINXAPIDOC ?= javasphinx-apidoc
SOURCEDIR
=
.
BUILDDIR
=
../../build/doc
# npm is not always in the global PATH
NPM_PATH
=
$(
shell npm bin
)
NPM_PREFIX
=
$(
shell npm prefix
)
.PHONY
:
doc-help Makefile api
...
...
@@ -44,8 +43,8 @@ doc-help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%
:
Makefile api
PATH
=
$(
NPM_PATH
)
:
$$
PATH
$(
SPHINXBUILD
)
-M
$@
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)
"
$(
SPHINXOPTS
)
$(
O
)
$(
SPHINXBUILD
)
-M
$@
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)
"
$(
SPHINXOPTS
)
$(
O
)
# sphinx-build -M html . ../../build/doc
api
:
PATH
=
$(
NPM_PATH
)
:
$$
PATH jsdoc
-t
$(
NPM_PREFIX
)
/node_modules/jsdoc-sphinx/template
-d
$@
-r
"../../src/core"
$(
JSDOC_BIN
)
-t
$(
NPM_PREFIX
)
/node_modules/
@indiscale/
jsdoc-sphinx/template
-d
$@
-r
"../../src/core"
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