Skip to content
Snippets Groups Projects
Commit 4fe6a1de authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

trying to convert to centos for pages build

no _static folder for doc
remove testdoc
parent 76ca5b34
No related branches found
No related tags found
No related merge requests found
Pipeline #
image: alpine image: centos
pages: pages:
script: script:
- apk --no-cache add py2-pip python-dev build-base jpeg-dev zlib-dev - yum install -y wget zlib-devel make
- wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- rpm -ivh epel-release-latest-7.noarch.rpm
- yum install -y python-pip python-setuptools python34-numpy numpy
- pip install sphinx sphinxcontrib-blockdiag blockdiag sphinxcontrib-restbuilder - pip install sphinx sphinxcontrib-blockdiag blockdiag sphinxcontrib-restbuilder
- apk --no-cache add make
- make html - make html
artifacts: artifacts:
paths: paths:
......
...@@ -164,7 +164,7 @@ html_theme = 'sphinxdoc' ...@@ -164,7 +164,7 @@ html_theme = 'sphinxdoc'
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] #html_static_path = ['_static']
# Add any extra paths that contain custom files (such as robots.txt or # Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied # .htaccess) here, relative to this directory. These files are copied
......
...@@ -11,9 +11,8 @@ Contents: ...@@ -11,9 +11,8 @@ Contents:
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
other ess/index
ess/index scripts/index
scripts/index
Indices and tables Indices and tables
================== ==================
......
Test Doc
--------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment