To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 2fc1f18c authored by mastc's avatar mastc 🎯
Browse files

Merge branch 'developer' into 'patch/yosioka'

Developer

See merge request !75
parents f0dd825d bfb9f6fb
Pipeline #90571 failed with stages
in 3 minutes
......@@ -53,7 +53,9 @@ coverage:
pages:
stage: documentation
script:
- mkdir public
- apt-get update
- apt-get install -y graphviz
# - mkdir public
- cd docs ; make html
# - mv _build/html/ ../public/
dependencies:
......
......@@ -14,6 +14,26 @@ help:
.PHONY: help Makefile
# detect what shell is used
ifeq ($(findstring cmd.exe,$(SHELL)),cmd.exe)
$(info "shell Windows cmd.exe")
DEVNUL := NUL
WHICH := where
else
$(info "shell Bash")
DEVNUL := /dev/null
WHICH := which
endif
# detect platform independently if gcc is installed
ifeq ($(shell ${WHICH} dot 2>${DEVNUL}),)
$(error "dot is not in your system PATH. Please install it and put it into your PATH")
$(error "http://graphviz.org")
else
$(info "dot (graphviz) found")
endif
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
......
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
:end
popd
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build
set DOT=dot -V
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)
%DOT% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'dot' command was not found. Make sure you have Graphviz installed.
echo.
echo.If you don't have Graphviz installed, grab it from
echo.http://graphviz.org, install it and put it in the PATH.
exit /b 1
)
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
:end
popd
......@@ -25,7 +25,7 @@ class BaseVariable(ABC):
:param name: Name of the variable (optional)
:type name: str
:raises: TypeError if :param:`name` is of wrong type
:raises: TypeError if :attr:`name` is of wrong type
:rtype: None
"""
self._value = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment