mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 18:26:42 +07:00
Merge pull request #566 from nextcloud/pierreozoux-patch-1
Fix link to theming doc
This commit is contained in:
@@ -29,7 +29,7 @@ from conf import *
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
extensions = ['sphinxcontrib.phpdomain', 'sphinx.ext.todo', 'rst2pdf.pdfbuilder']
|
||||
extensions = ['sphinxcontrib.phpdomain', 'sphinx.ext.todo', 'rst2pdf.pdfbuilder', 'sphinx.ext.intersphinx']
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['../_shared_assets/templates']
|
||||
@@ -285,4 +285,10 @@ epub_copyright = u'2012-2017, The Nextcloud developers'
|
||||
#epub_tocdup = True
|
||||
|
||||
# Include todos?
|
||||
todo_include_todos = True
|
||||
todo_include_todos = True
|
||||
|
||||
# allow to reference other documenation
|
||||
intersphinx_mapping = {
|
||||
'user_manual': ('https://docs.nextcloud.com/server/%s/user_manual/' % (version), '../user_manual/_build/html/com/objects.inv'),
|
||||
'developer_manual': ('https://docs.nextcloud.com/server/%s/developer_manual/' % (version), '../developer_manual/_build/html/com/objects.inv'),
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ from conf import *
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
extensions = ['sphinxcontrib.phpdomain', 'sphinx.ext.todo', 'rst2pdf.pdfbuilder']
|
||||
extensions = ['sphinxcontrib.phpdomain', 'sphinx.ext.todo', 'rst2pdf.pdfbuilder', 'sphinx.ext.intersphinx']
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['../_shared_assets/templates']
|
||||
@@ -297,6 +297,11 @@ epub_copyright = u'2012-2017, The Nextcloud developers'
|
||||
# Include todos?
|
||||
todo_include_todos = True
|
||||
|
||||
# allow to reference other documenation
|
||||
intersphinx_mapping = {
|
||||
'admin_manual': ('https://docs.nextcloud.com/server/%s/admin_manual/' % (version), '../admin_manual/_build/html/com/objects.inv'),
|
||||
'user_manual': ('https://docs.nextcloud.com/server/%s/user_manual/' % (version), '../user_manual/_build/html/com/objects.inv'),
|
||||
}
|
||||
|
||||
from sphinx.builders.html import StandaloneHTMLBuilder
|
||||
StandaloneHTMLBuilder.supported_image_types = [
|
||||
@@ -304,4 +309,4 @@ StandaloneHTMLBuilder.supported_image_types = [
|
||||
'image/gif',
|
||||
'image/png',
|
||||
'image/jpeg'
|
||||
]
|
||||
]
|
||||
@@ -2,7 +2,7 @@ Theming Nextcloud
|
||||
=================
|
||||
Themes can be used to customize the look and feel of Nextcloud.
|
||||
|
||||
.. note:: This is an advanced way of theming Nextcloud; the Nextcloud team recommends instead the use of the `theming app <../../admin_manual/configuration_server/theming.html>` which, when enabled, can be accessed from the Admin settings.
|
||||
.. note:: This is an advanced way of theming Nextcloud; the Nextcloud team recommends instead the use of the :doc:`configuration_server/theming` app which, when enabled, can be accessed from the Admin settings.
|
||||
|
||||
Getting started
|
||||
===============
|
||||
|
||||
@@ -29,7 +29,7 @@ from conf import *
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
extensions = ['sphinx.ext.todo', 'rst2pdf.pdfbuilder']
|
||||
extensions = ['sphinx.ext.todo', 'rst2pdf.pdfbuilder', 'sphinx.ext.intersphinx']
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['../_shared_assets/templates']
|
||||
@@ -294,4 +294,13 @@ epub_copyright = u'2012-2017, The Nextcloud developers'
|
||||
#epub_tocdup = True
|
||||
|
||||
# Include todos?
|
||||
todo_include_todos = True
|
||||
todo_include_todos = True
|
||||
|
||||
# substitutions go here
|
||||
rst_epilog = '.. |version| replace:: %s' % version
|
||||
|
||||
intersphinx_mapping = {
|
||||
'admin_manual': ('https://docs.nextcloud.com/server/%s/admin_manual/' % (version), '../admin_manual/_build/html/com/objects.inv'),
|
||||
'developer_manual': ('https://docs.nextcloud.com/server/%s/developer_manual/' % (version), '../developer_manual/_build/html/com/objects.inv'),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user