Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinx_press_theme for
openSUSE:Factory checked in at 2022-10-08 01:26:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx_press_theme (Old)
and /work/SRC/openSUSE:Factory/.python-sphinx_press_theme.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx_press_theme"
Sat Oct 8 01:26:08 2022 rev:2 rq:1008874 version:0.8.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinx_press_theme/python-sphinx_press_theme.changes
2021-07-07 18:31:58.874283968 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinx_press_theme.new.2275/python-sphinx_press_theme.changes
2022-10-08 01:26:33.662413512 +0200
@@ -1,0 +2,7 @@
+Fri Oct 7 16:24:44 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 0.8.0
+ * GH-59 Fix external links on sidetoc
+ * GH-60 Include LICENSE and CHANGES in dist package
+
+-------------------------------------------------------------------
Old:
----
sphinx_press_theme-0.7.3.tar.gz
New:
----
sphinx_press_theme-0.8.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinx_press_theme.spec ++++++
--- /var/tmp/diff_new_pack.70tQc9/_old 2022-10-08 01:26:34.050414402 +0200
+++ /var/tmp/diff_new_pack.70tQc9/_new 2022-10-08 01:26:34.058414419 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinx_press_theme
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2021 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sphinx_press_theme
-Version: 0.7.3
+Version: 0.8.0
Release: 0
Summary: A Sphinx-doc theme based on Vuepress
License: MIT
++++++ sphinx_press_theme-0.7.3.tar.gz -> sphinx_press_theme-0.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/AUTHORS
new/sphinx_press_theme-0.8.0/AUTHORS
--- old/sphinx_press_theme-0.7.3/AUTHORS 1970-01-01 01:00:00.000000000
+0100
+++ new/sphinx_press_theme-0.8.0/AUTHORS 2020-05-24 14:49:29.000000000
+0200
@@ -0,0 +1,4 @@
+(in chronological order)
+
+ * Eduardo Schettino - schettino72 <at> gmail <dot> com
+ * Zulko @ Github
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/CHANGES
new/sphinx_press_theme-0.8.0/CHANGES
--- old/sphinx_press_theme-0.7.3/CHANGES 1970-01-01 01:00:00.000000000
+0100
+++ new/sphinx_press_theme-0.8.0/CHANGES 2021-07-22 11:05:49.000000000
+0200
@@ -0,0 +1,84 @@
+=======
+Changes
+=======
+
+0.8.0 (*unreleased*)
+====================
+
+- GH-59 Fix external links on sidetoc
+
+
+0.7.3 (*2021-05-16*)
+====================
+
+- fix sidebar button (vue3)
+
+
+0.7.1 (*2021-05-15*)
+====================
+
+- fix sidebar display on mobile
+
+
+0.7.0 (*2021-05-15*)
+====================
+
+- require Sphinx 4.0, docutils 0.17
+- remove external fonts
+- add several missing Sphinx style
+
+
+0.6.1 (*2021-05-09*)
+====================
+
+- fix search (avoid script tag on body)
+
+
+0.6.0 (*2021-05-08*)
+====================
+
+- require Sphinx >= 3.0 (tested on 3.5.4)
+- drop support for python 3.5
+- add support for python 3.8 and 3.9
+- upgrade UI based on vue3 + vite
+
+
+0.5.0 (*2019-10-01*)
+=====================
+
+- new CSS styles to handle Sphinx-specific classes (fixes #26)
+- add support for user-provided CSS stylesheets (fixes #25)
+- allow support for user-defined external links
+
+0.4.0 (*2019-05-27*)
+====================
+
+- fix reading cached toctree data
+- fix navlinks that contain `#` anchors
+
+
+0.3.0 (*2019-04-22*)
+====================
+
+- require Sphinx >= 2.0
+- inherit from `basic` theme (previously `none`)
+- support search
+- support showing logo
+- add breadcrumbs
+- add page navigation on page top
+- fix #12: load extensions JS files
+- fix #10: don't raise error if there is no toctree
+- no navlinks to toctree if there is only one toctree defined
+
+
+0.2.0 (*2019-03-19*)
+====================
+
+- added template domainindex.html
+
+
+0.1.0 (*2018-08-07*)
+====================
+
+- initial release
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/LICENSE
new/sphinx_press_theme-0.8.0/LICENSE
--- old/sphinx_press_theme-0.7.3/LICENSE 1970-01-01 01:00:00.000000000
+0100
+++ new/sphinx_press_theme-0.8.0/LICENSE 2021-05-03 20:23:48.000000000
+0200
@@ -0,0 +1,89 @@
+The MIT License (MIT)
+
+Copyright (c) 2020-present, Eduardo Naufel Schettino and other contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+----
+
+The remainder of this file reproduces the open source licensing details of
other projects
+that have been imported, incorporated into, or derived into parts of
sphinx_press_theme.
+
+In no particular order:
+
+----
+
+vuepress, courtesy of Yuxi (Evan) You
+https://github.com/vuejs/vuepress
+
+Copyright (c) 2018-present, Yuxi (Evan) You
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+----
+
+License for Sphinx
+==================
+
+Copyright (c) 2007-2021 by the Sphinx team (see AUTHORS file).
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+----
+
+If we have left anything out, it is unintentional. Please let us know.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/MANIFEST.in
new/sphinx_press_theme-0.8.0/MANIFEST.in
--- old/sphinx_press_theme-0.7.3/MANIFEST.in 1970-01-01 01:00:00.000000000
+0100
+++ new/sphinx_press_theme-0.8.0/MANIFEST.in 2021-07-22 11:42:35.000000000
+0200
@@ -0,0 +1,6 @@
+include AUTHORS
+include CHANGES
+include LICENSE
+graft docs
+prune docs/build
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/PKG-INFO
new/sphinx_press_theme-0.8.0/PKG-INFO
--- old/sphinx_press_theme-0.7.3/PKG-INFO 2021-05-16 11:57:29.577857500
+0200
+++ new/sphinx_press_theme-0.8.0/PKG-INFO 2021-07-22 11:42:46.358819000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: sphinx_press_theme
-Version: 0.7.3
+Version: 0.8.0
Summary: A Sphinx-doc theme based on Vuepress
Home-page: https://schettino72.github.io/sphinx_press_site/
Author: Eduardo Naufel Schettino <schetino72>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/docs/Makefile
new/sphinx_press_theme-0.8.0/docs/Makefile
--- old/sphinx_press_theme-0.7.3/docs/Makefile 1970-01-01 01:00:00.000000000
+0100
+++ new/sphinx_press_theme-0.8.0/docs/Makefile 2020-05-24 14:49:29.000000000
+0200
@@ -0,0 +1,20 @@
+# Minimal makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS =
+SPHINXBUILD = sphinx-build
+SPHINXPROJ = sphinx_press_theme
+SOURCEDIR = source
+BUILDDIR = build
+
+# Put it first so that "make" without argument is like "make help".
+help:
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+
+.PHONY: help Makefile
+
+# Catch-all target: route all unknown targets to Sphinx using the new
+# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
+%: Makefile
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/docs/make.bat
new/sphinx_press_theme-0.8.0/docs/make.bat
--- old/sphinx_press_theme-0.7.3/docs/make.bat 1970-01-01 01:00:00.000000000
+0100
+++ new/sphinx_press_theme-0.8.0/docs/make.bat 2020-05-24 14:49:29.000000000
+0200
@@ -0,0 +1,36 @@
+@ECHO OFF
+
+pushd %~dp0
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+ set SPHINXBUILD=sphinx-build
+)
+set SOURCEDIR=source
+set BUILDDIR=build
+set SPHINXPROJ=sphinx_press_theme
+
+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%
+goto end
+
+:help
+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
+
+:end
+popd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/docs/source/about.rst
new/sphinx_press_theme-0.8.0/docs/source/about.rst
--- old/sphinx_press_theme-0.7.3/docs/source/about.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/about.rst 2021-05-16
11:51:03.000000000 +0200
@@ -0,0 +1,54 @@
+===============
+Getting Started
+===============
+
+Sphinx Press is a modern responsive theme for python's
+`Sphinx docs <http://www.sphinx-doc.org>`_.
+
+This theme is based on `VuePress <https://vuepress.vuejs.org/>`_.
+It uses `Vue.js <https://vuejs.org/>`_ &
+`Stylus <http://stylus-lang.com/>`_ managed by
+`vite <http://vitejs.dev/>`_.
+
+
+
+Install
+=======
+
+
+First install the theme:
+
+.. code-block:: console
+
+ $ pip install sphinx_press_theme
+
+Sphinx version compatibility:
+
+======== ===========
+Sphinx Press Theme
+======== ===========
+4.X latest
+3.X 0.6.1
+2.X 0.5.1
+======== ===========
+
+
+Usage
+=====
+
+On Sphinx project's ``conf.py``: set the theme name to ``press``.
+
+.. code-block:: python
+
+ html_theme = "press"
+
+
+See details on :doc:`configuration <configuration>`.
+
+
+Status
+======
+
+**Press** theme is still in **BETA**.
+
+Contributions are welcome.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/docs/source/changes.rst
new/sphinx_press_theme-0.8.0/docs/source/changes.rst
--- old/sphinx_press_theme-0.7.3/docs/source/changes.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/changes.rst 2021-07-22
11:05:49.000000000 +0200
@@ -0,0 +1,84 @@
+=======
+Changes
+=======
+
+0.8.0 (*unreleased*)
+====================
+
+- GH-59 Fix external links on sidetoc
+
+
+0.7.3 (*2021-05-16*)
+====================
+
+- fix sidebar button (vue3)
+
+
+0.7.1 (*2021-05-15*)
+====================
+
+- fix sidebar display on mobile
+
+
+0.7.0 (*2021-05-15*)
+====================
+
+- require Sphinx 4.0, docutils 0.17
+- remove external fonts
+- add several missing Sphinx style
+
+
+0.6.1 (*2021-05-09*)
+====================
+
+- fix search (avoid script tag on body)
+
+
+0.6.0 (*2021-05-08*)
+====================
+
+- require Sphinx >= 3.0 (tested on 3.5.4)
+- drop support for python 3.5
+- add support for python 3.8 and 3.9
+- upgrade UI based on vue3 + vite
+
+
+0.5.0 (*2019-10-01*)
+=====================
+
+- new CSS styles to handle Sphinx-specific classes (fixes #26)
+- add support for user-provided CSS stylesheets (fixes #25)
+- allow support for user-defined external links
+
+0.4.0 (*2019-05-27*)
+====================
+
+- fix reading cached toctree data
+- fix navlinks that contain `#` anchors
+
+
+0.3.0 (*2019-04-22*)
+====================
+
+- require Sphinx >= 2.0
+- inherit from `basic` theme (previously `none`)
+- support search
+- support showing logo
+- add breadcrumbs
+- add page navigation on page top
+- fix #12: load extensions JS files
+- fix #10: don't raise error if there is no toctree
+- no navlinks to toctree if there is only one toctree defined
+
+
+0.2.0 (*2019-03-19*)
+====================
+
+- added template domainindex.html
+
+
+0.1.0 (*2018-08-07*)
+====================
+
+- initial release
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/docs/source/conf.py
new/sphinx_press_theme-0.8.0/docs/source/conf.py
--- old/sphinx_press_theme-0.7.3/docs/source/conf.py 1970-01-01
01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/conf.py 2021-07-22
11:12:41.000000000 +0200
@@ -0,0 +1,169 @@
+# -*- coding: utf-8 -*-
+#
+# Configuration file for the Sphinx documentation builder.
+#
+# This file does only contain a selection of the most common options. For a
+# full list see the documentation:
+# http://www.sphinx-doc.org/en/master/config
+
+# -- Path setup --------------------------------------------------------------
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+#
+# import os
+# import sys
+# sys.path.insert(0, os.path.abspath('.'))
+
+
+# -- Project information -----------------------------------------------------
+
+project = 'sphinx_press_theme'
+copyright = '2018-present, Eduardo Naufel Schettino'
+author = 'Eduardo Naufel Schettino'
+
+# The short X.Y version
+version = '0.8'
+# The full version, including alpha/beta/rc tags
+release = '0.8.0'
+
+
+# -- General configuration ---------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#
+needs_sphinx = '4.0'
+
+# 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.mathjax',
+ 'sphinx.ext.autodoc',
+# 'sphinx.ext.ifconfig',
+# 'sphinx.ext.viewcode',
+# 'sphinx.ext.githubpages',
+]
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix(es) of source filenames.
+# You can specify multiple suffix as a list of string:
+#
+# source_suffix = ['.rst', '.md']
+source_suffix = '.rst'
+
+# The master toctree document.
+master_doc = 'index'
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#
+# This is also used if you do content translation via gettext catalogs.
+# Usually you set "language" from the command line for these cases.
+language = None
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+# This pattern also affects html_static_path and html_extra_path .
+exclude_patterns = []
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = None
+
+
+# -- Options for HTML output -------------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+#
+html_theme = 'press'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+#
+# html_theme_options = {}
+
+# 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,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = []
+
+# Custom sidebar templates, must be a dictionary that maps document names
+# to template names.
+#
+# The default sidebars (for documents that don't match any pattern) are
+# defined by theme itself.
+#
+# The default `html_sidebars` of Press theme: ['util/searchbox.html',
'util/sidetoc.html']
+#
+# html_sidebars = {'**': ['util/sidetoc.html']}
+
+html_theme_options = {
+ "external_links": [
+ ("Github", "https://github.com/schettino72/sphinx_press_theme"),
+ ],
+}
+
+
+# -- Options for HTMLHelp output ---------------------------------------------
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'sphinx_press_themedoc'
+
+
+# -- Options for LaTeX output ------------------------------------------------
+
+latex_elements = {
+ # The paper size ('letterpaper' or 'a4paper').
+ #
+ # 'papersize': 'letterpaper',
+
+ # The font size ('10pt', '11pt' or '12pt').
+ #
+ # 'pointsize': '10pt',
+
+ # Additional stuff for the LaTeX preamble.
+ #
+ # 'preamble': '',
+
+ # Latex figure (float) alignment
+ #
+ # 'figure_align': 'htbp',
+}
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title,
+# author, documentclass [howto, manual, or own class]).
+latex_documents = [
+ (master_doc, 'sphinx_press_theme.tex', 'sphinx\\_press\\_theme
Documentation',
+ 'Eduardo Naufel Schettino', 'manual'),
+]
+
+
+# -- Options for manual page output ------------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+ (master_doc, 'sphinx_press_theme', 'sphinx_press_theme Documentation',
+ [author], 1)
+]
+
+
+# -- Options for Texinfo output ----------------------------------------------
+
+# Grouping the document tree into Texinfo files. List of tuples
+# (source start file, target name, title, author,
+# dir menu entry, description, category)
+texinfo_documents = [
+ (master_doc, 'sphinx_press_theme', 'sphinx_press_theme Documentation',
+ author, 'sphinx_press_theme', 'One line description of project.',
+ 'Miscellaneous'),
+]
+
+
+# -- Extension configuration -------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/docs/source/configuration.rst
new/sphinx_press_theme-0.8.0/docs/source/configuration.rst
--- old/sphinx_press_theme-0.7.3/docs/source/configuration.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/configuration.rst 2021-05-11
15:43:55.000000000 +0200
@@ -0,0 +1,158 @@
+=============
+Configuration
+=============
+
+The Press theme webpage is composed of a fixed header, a sidebar and main
content area.
+
+On Sphinx project's ``conf.py``: set the theme name to ``press``.
+
+.. code-block:: python
+
+ html_theme = "press"
+
+
+See details on `Sphinx theming docs
<https://www.sphinx-doc.org/en/master/usage/theming.html>`_.
+
+
+Config values
+=============
+
+Basic configuration on ``conf.py``:
+
+
+``html_logo``
+^^^^^^^^^^^^^
+
+If defined shows an image instead of project name on page top-left (link to
index page).
+
+.. code-block:: python
+
+ html_logo = '_static/myproject-logo.png'
+
+
+``html_sidebars``
+^^^^^^^^^^^^^^^^^
+
+By default the *sidebars* include only: searchbox and a global TOC tree.
+See docs on `html_sidebars
<http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars>`_.
+
+.. code-block:: python
+
+ html_sidebars = {'**': ['util/searchbox.html', 'util/sidetoc.html']}
+
+
+``html_css_files``
+^^^^^^^^^^^^^^^^^^
+
+Adds custom CSS files to the theme
+
+.. code-block:: python
+
+ # Here we assume that the file is at _static/css/custom.css
+ html_css_files = ["css/custom.css"]
+
+``html_external_links``
+^^^^^^^^^^^^^^^^^^^^^^^
+
+If provided, creates external links (e.g. Github) in the top right corner:
+
+.. code-block:: python
+
+ html_theme_options = {
+ "external_links": [
+ ("Github", "https://github.com/username/repo"),
+ ("Other", "https://bla.com")
+ ]
+ }
+
+
+Templates
+=========
+
+
+The ``util`` folder contains Jinja2 snippets to be *included*,
+from main templates. Those can be easily replaced by theme users.
+
+To change site/page structure you should *extend* pages and give new
implementations for Jinja2 **blocks**.
+
+Jinja2 templates and blocks are organized as follow:
+
+
+``layout.html``
+^^^^^^^^^^^^^^^
+
+Blocks on HTML head:
+
+- ``htmltitle`` - HTML page title
+- ``css`` - include theme's CSS files
+- ``scripts`` - include theme's javascript files
+- ``extrahead`` - empty by default, to be used by theme users
+
+
+Blocks on HTML body:
+
+``container`` - whole visible page
+
+* ``header`` - fixed header (includes ``util/navbar.html``)
+
+ - ``navbar.html`` - apart from home-link includes ``util/navlinks.html`` &
``util/extlinks.html``
+
+* ``sidebar``
+
+ - ``side_links`` - includes ``util/navlinks.html`` & ``util/extlinks.html``
+ - include all templates listed on ``html_sidebars`` config
+
+* ``document``
+
+ - ``body_header`` - includes ``util/bodyheader.html``
+ - ``body`` - main content generated from ReST documents
+ - ``footer`` - includes ``util/pagenav.html`` & ``util/footer.html``
+
+
+``util/navbar.html``
+^^^^^^^^^^^^^^^^^^^^
+
+Header content. Left side contains *home-link* with name.
+
+Right side contains links from ``util/navlinks.html`` and
``util/extlinks.html``.
+
+
+``util/navlinks.html``
+^^^^^^^^^^^^^^^^^^^^^^
+
+Links taken from TOCs defined on master document.
+
+
+``util/extlinks.html``
+^^^^^^^^^^^^^^^^^^^^^^
+
+External links defined by theme's user.
+
+
+``util/searchbox.html``
+^^^^^^^^^^^^^^^^^^^^^^^
+
+Form to perform site search.
+
+``util/sidetoc.html``
+^^^^^^^^^^^^^^^^^^^^^
+
+Navigation from toctree.
+
+
+``util/bodyheader.html``
+^^^^^^^^^^^^^^^^^^^^^^^^
+
+Breadcrumbs and page navigation.
+
+``util/pagenav.html``
+^^^^^^^^^^^^^^^^^^^^^
+
+Links for previous/next page.
+
+
+``util/footer.html``
+^^^^^^^^^^^^^^^^^^^^
+
+Copyright information.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/docs/source/index.rst
new/sphinx_press_theme-0.8.0/docs/source/index.rst
--- old/sphinx_press_theme-0.7.3/docs/source/index.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/index.rst 2020-05-24
14:49:29.000000000 +0200
@@ -0,0 +1,31 @@
+.. sphinx_press_theme documentation master file, created by
+ sphinx-quickstart on Mon Jul 30 11:44:38 2018.
+ You can adapt this file completely to your liking, but it should at least
+ contain the root `toctree` directive.
+
+sphinx_press_theme
+==================
+
+.. toctree::
+ :maxdepth: 2
+ :caption: Docs
+
+ about
+ configuration
+ who
+ changes
+
+.. toctree::
+ :maxdepth: 2
+ :caption: Demo
+
+ theme-demo/index
+
+
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/docs/source/theme-demo/README
new/sphinx_press_theme-0.8.0/docs/source/theme-demo/README
--- old/sphinx_press_theme-0.7.3/docs/source/theme-demo/README 1970-01-01
01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/theme-demo/README 2020-05-24
14:49:29.000000000 +0200
@@ -0,0 +1 @@
+Demo pages taken from https://github.com/sphinx-themes/sphinx-themes.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/docs/source/theme-demo/admonition.rst
new/sphinx_press_theme-0.8.0/docs/source/theme-demo/admonition.rst
--- old/sphinx_press_theme-0.7.3/docs/source/theme-demo/admonition.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/theme-demo/admonition.rst
2020-05-24 14:49:29.000000000 +0200
@@ -0,0 +1,68 @@
+Admonitions
+===============
+
+admonition
+-------------
+
+.. admonition:: Neque porro quisquam
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus mattis
commodo eros, quis posuere enim lobortis quis. Nullam ut tempus nibh.
+
+
+caution
+--------
+
+.. caution:: Neque porro quisquam
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus mattis
commodo eros, quis posuere enim lobortis quis. Nullam ut tempus nibh.
+
+danger
+---------------
+
+
+.. danger:: Neque porro quisquam
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus mattis
commodo eros, quis posuere enim lobortis quis. Nullam ut tempus nibh.
+
+error
+---------------
+
+.. error:: Neque porro quisquam
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus mattis
commodo eros, quis posuere enim lobortis quis. Nullam ut tempus nibh.
+
+
+hint
+---------------
+
+.. hint:: Neque porro quisquam
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus mattis
commodo eros, quis posuere enim lobortis quis. Nullam ut tempus nibh.
+
+important
+---------------
+
+.. important:: Neque porro quisquam
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus mattis
commodo eros, quis posuere enim lobortis quis. Nullam ut tempus nibh.
+
+note
+---------------
+
+.. note:: Neque porro quisquam
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus mattis
commodo eros, quis posuere enim lobortis quis. Nullam ut tempus nibh.
+
+tip
+---------------
+
+.. tip:: Neque porro quisquam
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus mattis
commodo eros, quis posuere enim lobortis quis. Nullam ut tempus nibh.
+
+warning
+---------------
+
+.. warning:: Neque porro quisquam
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus mattis
commodo eros, quis posuere enim lobortis quis. Nullam ut tempus nibh.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/docs/source/theme-demo/basic.rst
new/sphinx_press_theme-0.8.0/docs/source/theme-demo/basic.rst
--- old/sphinx_press_theme-0.7.3/docs/source/theme-demo/basic.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/theme-demo/basic.rst
2020-05-24 14:49:29.000000000 +0200
@@ -0,0 +1,115 @@
+Basic Specification
+=================================
+
+Paragraphs contain text and may contain inline markup: *emphasis*, **strong
emphasis**, `interpreted text`, ``inline literals``, standalone hyperlinks
(http://www.python.org), external hyperlinks (Python_), internal
cross-references (example_), footnote references ([1]_), citation references
([CIT2002]_), substitution references (|example|), and _`inline internal
targets`.
+
+
+Table of contents
+-----------------
+
+.. contents::
+
+.. |example| replace:: foo **bar**
+
+
+List
+----
+
+Bullet lists:
+```````````````
+
+- This is a bullet list.
+
+- Bullets can be "*", "+", or "-".
+
+
+Enumerated lists:
+``````````````````
+
+1. This is an enumerated list.
+
+2. Enumerators may be arabic numbers, letters, or roman
+ numerals.
+
+Definition lists:
+``````````````````
+
+what
+ Definition lists associate a term with a definition.
+
+how
+ The term is a one-line phrase, and the definition is one
+ or more paragraphs or body elements, indented relative to
+ the term.
+
+Field lists:
+````````````
+
+:what: Field lists map field names to field bodies, like
+ database records. They are often part of an extension
+ syntax.
+
+:how: The field marker is a colon, the field name, and a
+ colon.
+
+ The field body may contain one or more body elements,
+ indented relative to the field marker.
+
+Option lists, for listing command-line options:
+``````````````````````````````````````````````````````````
+
+-a command-line option "a"
+-b file options can have arguments
+ and long descriptions
+--long options can be long also
+--input=file long options can also have
+ arguments
+/V DOS/VMS-style options too
+
+
+Literal blocks:
+-------------------
+
+ if literal_block:
+ text = 'is left as-is'
+ spaces_and_linebreaks = 'are preserved'
+ markup_processing = None
+
+
+Block quotes:
+----------------
+
+ This theory, that is mine, is mine.
+
+ -- Anne Elk (Miss)
+
+
+Simple Table
+-----------------
+
+==================== ========== ==========
+Header row, column 1 Header 2 Header 3
+==================== ========== ==========
+body row 1, column 1 column 2 column 3
+body row 2 Cells may span columns
+==================== ======================
+
+Citation
+------------
+
+.. [1] A footnote contains body elements, consistently
+ indented by at least 3 spaces.
+
+.. [CIT2002] Just like a footnote, except the label is
+ textual.
+
+
+Internal reference
+------------------
+
+.. _example:
+
+The "_example" target above points to this paragraph.
+
+
+.. _Python: http://www.python.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/docs/source/theme-demo/domain.rst
new/sphinx_press_theme-0.8.0/docs/source/theme-demo/domain.rst
--- old/sphinx_press_theme-0.7.3/docs/source/theme-demo/domain.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/theme-demo/domain.rst
2020-05-24 14:49:29.000000000 +0200
@@ -0,0 +1,25 @@
+Domain
+======
+
+
+Python
+------
+
+.. py:module:: foo
+
+
+.. py:function:: spam(eggs)
+
+ My spam
+
+autofunction
+------------
+
+.. autofunction:: sphinx_press_theme.add_toctree_data
+
+autoclass
+---------
+
+.. autoclass:: sphinx.environment.collectors.EnvironmentCollector
+ :members:
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/docs/source/theme-demo/extensions.rst
new/sphinx_press_theme-0.8.0/docs/source/theme-demo/extensions.rst
--- old/sphinx_press_theme-0.7.3/docs/source/theme-demo/extensions.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/theme-demo/extensions.rst
2020-05-24 14:49:29.000000000 +0200
@@ -0,0 +1,11 @@
+
+Extensions
+==========
+
+mathjax
+-------
+
+
+Inline :math:`\hat{y}` or:
+
+.. math:: \hat{y} = f(x) = wx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/docs/source/theme-demo/index.rst
new/sphinx_press_theme-0.8.0/docs/source/theme-demo/index.rst
--- old/sphinx_press_theme-0.7.3/docs/source/theme-demo/index.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/theme-demo/index.rst
2021-05-15 01:17:40.000000000 +0200
@@ -0,0 +1,13 @@
+Demo
+====
+
+Showcase of Sphinx features using **Press** theme.
+
+.. toctree::
+ :maxdepth: 2
+
+ basic
+ admonition
+ domain
+ extensions
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/docs/source/who.rst
new/sphinx_press_theme-0.8.0/docs/source/who.rst
--- old/sphinx_press_theme-0.7.3/docs/source/who.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/sphinx_press_theme-0.8.0/docs/source/who.rst 2021-07-22
11:14:47.000000000 +0200
@@ -0,0 +1,14 @@
+Who is using **Press** Theme
+============================
+
+If you use this theme please add your site below:
+
+
+- `doit <https://pydoit.org>`_
+- `OpenColorIO <https://opencolorio.readthedocs.io/en/latest/>`_
+- `Crudcast <https://crudcast.readthedocs.io/en/latest/>`_
+- `Friendly ML Tutorial
<https://aunnnn.github.io/ml-tutorial/html/index.html>`_
+- `Kube Control <https://ktl.leftxs.org/>`_
+- `trcls <https://trcls.ningyuan.io>`_
+- `bedshape <https://bedshape.ningyuan.io>`_
+- `DNA Chisel <https://edinburgh-genome-foundry.github.io/DnaChisel/>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_press_theme-0.7.3/setup.py
new/sphinx_press_theme-0.8.0/setup.py
--- old/sphinx_press_theme-0.7.3/setup.py 2021-05-16 11:49:17.000000000
+0200
+++ new/sphinx_press_theme-0.8.0/setup.py 2021-07-22 11:06:38.000000000
+0200
@@ -5,7 +5,7 @@
setup(
name="sphinx_press_theme",
- version="0.7.3",
+ version="0.8.0",
url="https://schettino72.github.io/sphinx_press_site/",
license="MIT",
author="Eduardo Naufel Schettino <schetino72>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/sphinx_press_theme/__init__.py
new/sphinx_press_theme-0.8.0/sphinx_press_theme/__init__.py
--- old/sphinx_press_theme-0.7.3/sphinx_press_theme/__init__.py 2021-05-16
11:49:31.000000000 +0200
+++ new/sphinx_press_theme-0.8.0/sphinx_press_theme/__init__.py 2021-07-22
11:06:02.000000000 +0200
@@ -5,7 +5,7 @@
from sphinx import addnodes
from sphinx.util.osutil import relative_uri
-__version__ = (0, 7, 3)
+__version__ = (0, 8, 0)
class SimpleTocTreeCollector(EnvironmentCollector):
@@ -107,10 +107,15 @@
# add toc tree items, expand one more level if toctree is current page
entries = []
+ # entries contain a pair (title, name|external url)
+ # if name of document is given and not title, title is taken from
document
for title, name in tree['entries']:
if not title:
title = app.env.titles[name].astext()
+ # check if entry is an external resource
+ ext_resource = '://' in name
+
current1 = (pagename == name)
children = []
if current1:
@@ -123,6 +128,7 @@
'title': title,
'current': current1,
'children': children,
+ 'ext_resource': ext_resource,
})
toc_docname = tree['parent'] # docname where this toc appears
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/sphinx_press_theme/theme.conf
new/sphinx_press_theme-0.8.0/sphinx_press_theme/theme.conf
--- old/sphinx_press_theme-0.7.3/sphinx_press_theme/theme.conf 2021-05-16
11:49:43.000000000 +0200
+++ new/sphinx_press_theme-0.8.0/sphinx_press_theme/theme.conf 2021-07-22
11:07:11.000000000 +0200
@@ -7,4 +7,4 @@
[options]
analytics_id =
external_links =
-press_version = 0.7.3
\ No newline at end of file
+press_version = 0.8.0
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/sphinx_press_theme/util/sidetoc.html
new/sphinx_press_theme-0.8.0/sphinx_press_theme/util/sidetoc.html
--- old/sphinx_press_theme-0.7.3/sphinx_press_theme/util/sidetoc.html
2020-05-24 14:49:29.000000000 +0200
+++ new/sphinx_press_theme-0.8.0/sphinx_press_theme/util/sidetoc.html
2021-07-22 11:03:14.000000000 +0200
@@ -6,7 +6,12 @@
</p>
<ul class="{% if toc.current %}current{% endif %}">
{% for entry in toc.entries %}
- <li class="toctree-l1 {% if entry.current %}current{% endif %}"><a
href="{{ pathto(entry.name) }}" class="reference internal {% if entry.current
%}current{% endif %}">{{entry.title}}</a>
+ <li class="toctree-l1 {% if entry.current %}current{% endif %}">
+ {% if entry.ext_resource %}
+ <a href="{{ pathto(entry.name, 1) }}"
class="reference">{{entry.title}} <outboundlink></outboundlink></a>
+ {% else %}
+ <a href="{{ pathto(entry.name) }}" class="reference internal {%
if entry.current %}current{% endif %}">{{entry.title}}</a>
+ {% endif %}
{% if entry.children %}
<ul>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/sphinx_press_theme.egg-info/PKG-INFO
new/sphinx_press_theme-0.8.0/sphinx_press_theme.egg-info/PKG-INFO
--- old/sphinx_press_theme-0.7.3/sphinx_press_theme.egg-info/PKG-INFO
2021-05-16 11:57:29.000000000 +0200
+++ new/sphinx_press_theme-0.8.0/sphinx_press_theme.egg-info/PKG-INFO
2021-07-22 11:42:46.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: sphinx-press-theme
-Version: 0.7.3
+Version: 0.8.0
Summary: A Sphinx-doc theme based on Vuepress
Home-page: https://schettino72.github.io/sphinx_press_site/
Author: Eduardo Naufel Schettino <schetino72>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_press_theme-0.7.3/sphinx_press_theme.egg-info/SOURCES.txt
new/sphinx_press_theme-0.8.0/sphinx_press_theme.egg-info/SOURCES.txt
--- old/sphinx_press_theme-0.7.3/sphinx_press_theme.egg-info/SOURCES.txt
2021-05-16 11:57:29.000000000 +0200
+++ new/sphinx_press_theme-0.8.0/sphinx_press_theme.egg-info/SOURCES.txt
2021-07-22 11:42:46.000000000 +0200
@@ -1,5 +1,23 @@
+AUTHORS
+CHANGES
+LICENSE
+MANIFEST.in
README.md
setup.py
+docs/Makefile
+docs/make.bat
+docs/source/about.rst
+docs/source/changes.rst
+docs/source/conf.py
+docs/source/configuration.rst
+docs/source/index.rst
+docs/source/who.rst
+docs/source/theme-demo/README
+docs/source/theme-demo/admonition.rst
+docs/source/theme-demo/basic.rst
+docs/source/theme-demo/domain.rst
+docs/source/theme-demo/extensions.rst
+docs/source/theme-demo/index.rst
sphinx_press_theme/__init__.py
sphinx_press_theme/domainindex.html
sphinx_press_theme/genindex.html