Skip to content
Snippets Groups Projects
Commit a8d7e015 authored by Robert Habermann's avatar Robert Habermann
Browse files

change docs build dir

parent 428b1b11
No related branches found
No related tags found
No related merge requests found
File moved
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
#
# PyOTRS documentation build configuration file, created by
# sphinx-quickstart on Thu Apr 14 22:10:43 2016.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys import sys
import os import os
...@@ -41,6 +28,8 @@ extensions = [ ...@@ -41,6 +28,8 @@ extensions = [
'sphinx.ext.autosummary', 'sphinx.ext.autosummary',
'sphinx.ext.todo', 'sphinx.ext.todo',
'sphinx.ext.viewcode', 'sphinx.ext.viewcode',
'sphinx.ext.coverage',
'sphinx.ext.extlinks',
'sphinxcontrib.napoleon', 'sphinxcontrib.napoleon',
] ]
...@@ -118,8 +107,8 @@ pygments_style = 'sphinx' ...@@ -118,8 +107,8 @@ pygments_style = 'sphinx'
#keep_warnings = False #keep_warnings = False
# If true, `todo` and `todoList` produce output, else they produce nothing. # If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False todo_include_todos = True
todo_link_only = True
# -- Options for HTML output ---------------------------------------------- # -- Options for HTML output ----------------------------------------------
...@@ -305,6 +294,12 @@ texinfo_documents = [ ...@@ -305,6 +294,12 @@ texinfo_documents = [
#texinfo_no_detailmenu = False #texinfo_no_detailmenu = False
extlinks = {
'issue': ('https://gitlab.com/rhab/PyOTRS/issues/%s', '#'),
'mr': ('https://gitlab.com/rhab/PyOTRS/pull/%s', 'PR #'),
}
# Example configuration for intersphinx: refer to the Python standard library. # Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None} intersphinx_mapping = {'https://docs.python.org/': None}
...@@ -314,5 +309,3 @@ intersphinx_mapping = {'https://docs.python.org/': None} ...@@ -314,5 +309,3 @@ intersphinx_mapping = {'https://docs.python.org/': None}
# 'groupwise', 'bysource', default: 'alphabetical' # 'groupwise', 'bysource', default: 'alphabetical'
autodoc_member_order = 'groupwise' autodoc_member_order = 'groupwise'
todo_include_todos = True
todo_link_only = True
Contributing Contributing
============ ============
Dependencies-Dev Dependencies Tests/Developement (pip)
---------------- -------------------------------------
Dependencies-Docs - tox
----------------- - coverage
- unittest2
- mock
- responses
Dependencies Documentation (pip)
--------------------------------
- sphinx
- sphinxcontrib-napoleon
- sphinx\_rtd\_theme
- pandoc (**apt-get install pandoc)**
Running Tests Running Tests
------------- -------------
......
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
...@@ -7,9 +7,10 @@ sudo rm -rf /var/www/PyOTRS/htmlcov ...@@ -7,9 +7,10 @@ sudo rm -rf /var/www/PyOTRS/htmlcov
coverage html -d htmlcov coverage html -d htmlcov
sudo cp -a htmlcov /var/www/PyOTRS/ sudo cp -a htmlcov /var/www/PyOTRS/
# coverage: clean, build, deploy # docs: clean, build, deploy
rm -rf docs/build rm -rf build/docs
sudo rm -rf /var/www/PyOTRS/docs sudo rm -rf /var/www/PyOTRS/docs
tox -e docs tox -e docs
sudo cp -a docs/build /var/www/PyOTRS/docs #sudo cp -a docs/build /var/www/PyOTRS/docs
sudo cp -a build/docs /var/www/PyOTRS/docs
...@@ -9,7 +9,8 @@ envlist = ...@@ -9,7 +9,8 @@ envlist =
py34, py34,
cov_combine, cov_combine,
py3kwarn, py3kwarn,
pep8 pep8,
docs
[testenv] [testenv]
deps = deps =
......
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