The Sphinx documentation generator
Go to file
Emilio Cobos Álvarez b6aaf07df1
searchtools: Don't use slideDown to show search results.
Fixes a performance issue with massive lists like #8562.

jQuery.slideDown is pretty bad perf-wise since it thrashes layout
multiple times.

The 5ms animation is unnoticeable (it last less than an animation
frame!) and just burns CPU cycles unnecessarily in all browsers.

On Firefox this is specially bad because it hits a performance cliff
with list items / CSS counters
(https://bugzilla.mozilla.org/show_bug.cgi?id=1683910#c26 for all the
gory details) where it causes tons of counter recalc.

An alternative fix for the Firefox cliff would be to set overflow:
hidden on the list item, but I think removing the animation is probably
more sensible, given that as I said it's just burning CPU.

Fixes #8562
2021-02-10 20:28:06 +01:00
.circleci Run epubcheck on Circle CI 2020-07-18 16:57:29 +09:00
.github Update PULL_REQUEST_TEMPLATE.md 2020-12-21 22:51:49 -05:00
doc Also indent warning to not interrupt description list 2021-02-09 18:29:56 +01:00
sphinx searchtools: Don't use slideDown to show search results. 2021-02-10 20:28:06 +01:00
tests Merge branch '3.x' into latex_hyperlinked_caption_footnotes_on_3.x 2021-02-09 16:39:55 +01:00
utils doc: Update branch name in release-checklist 2021-01-08 01:25:24 +09:00
.codecov.yml Revert "Enable patch status check for Codecov" 2020-03-15 11:09:06 +09:00
.gitignore C++, add support for parameterized noexcept specifier in function declarations 2020-04-24 23:59:41 +02:00
.readthedocs.yml Fix #8662: Add .readthedocs.yml 2021-01-16 21:31:50 +09:00
AUTHORS Introduce fips_safe_md5, see issue #7611 2020-05-05 00:50:51 +02:00
babel.cfg Fix i18n: messages on sphinxmessages.sty_t are not extracted 2019-03-29 01:08:23 +09:00
bindep.txt bindep: Use dpkg instead of ubuntu classifier 2020-05-30 16:02:49 +01:00
CHANGES Update CHANGES for PR #8865 2021-02-11 00:33:25 +09:00
CHANGES.old changelog: split off older changes (pre-1.0) to a CHANGES.old file 2013-03-29 13:05:49 +01:00
CODE_OF_CONDUCT docs: Tweaks to code of conduct 2020-06-02 12:10:24 +01:00
CONTRIBUTING.rst Minor typo in the contributing info 2020-12-16 12:09:17 -05:00
EXAMPLES 🆕 FreeFEM in EXAMPLES 2020-12-29 03:19:46 +09:00
karma.conf.js Closes #8123: Fix plus-handling (+) in search terms for basic html theme search 2020-08-19 18:01:27 +02:00
LICENSE A happy new year! 2021-01-01 13:40:48 +09:00
Makefile Run tests with Python Development mode 2020-11-11 14:20:18 +01:00
MANIFEST.in Fix #7626: release package does not contain `CODE_OF_CONDUCT` 2020-05-09 17:48:01 +09:00
package-lock.json Bump http-proxy from 1.17.0 to 1.18.1 2020-09-06 01:30:34 +00:00
package.json Update npm packages 2019-07-13 20:01:31 +09:00
README.rst 📛 CodeTriage 2020-07-12 05:39:08 +09:00
setup.cfg refactor: Reduce warnings on testing 2020-12-29 19:23:46 +09:00
setup.py Fix mypy violations (with mypy-0.800) 2021-01-22 21:26:58 +09:00
tox.ini refactor: Reduce warnings on testing 2020-12-29 19:23:46 +09:00

========
 Sphinx
========

.. image:: https://img.shields.io/pypi/v/sphinx.svg
   :target: https://pypi.org/project/Sphinx/
   :alt: Package on PyPI

.. image:: https://readthedocs.org/projects/sphinx/badge/?version=master
   :target: http://www.sphinx-doc.org/
   :alt: Documentation Status

.. image:: https://travis-ci.org/sphinx-doc/sphinx.svg?branch=master
   :target: https://travis-ci.org/sphinx-doc/sphinx
   :alt: Build Status (Travis CI)

.. image:: https://ci.appveyor.com/api/projects/status/github/sphinx-doc/sphinx?branch=master&svg=true
   :target: https://ci.appveyor.com/project/sphinxdoc/sphinx
   :alt: Build Status (AppVeyor)

.. image:: https://circleci.com/gh/sphinx-doc/sphinx.svg?style=shield
   :target: https://circleci.com/gh/sphinx-doc/sphinx
   :alt: Build Status (CircleCI)

.. image:: https://codecov.io/gh/sphinx-doc/sphinx/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/sphinx-doc/sphinx
   :alt: Code Coverage Status (Codecov)

.. image:: https://img.shields.io/badge/License-BSD%203--Clause-blue.svg
   :target: https://opensource.org/licenses/BSD-3-Clause
   :alt: BSD 3 Clause

.. image:: https://codetriage.com/sphinx-doc/sphinx/badges/users.svg
   :target: https://codetriage.com/sphinx-doc/sphinx
   :alt: Open Source Helpers badge

Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of multiple
reStructuredText sources), written by Georg Brandl.  It was originally created
for the new Python documentation, and has excellent facilities for Python
project documentation, but C/C++ is supported as well, and more languages are
planned.

Sphinx uses reStructuredText as its markup language, and many of its strengths
come from the power and straightforwardness of reStructuredText and its parsing
and translating suite, the Docutils.

Among its features are the following:

* Output formats: HTML (including derivative formats such as HTML Help, Epub
  and Qt Help), plain text, manual pages and LaTeX or direct PDF output
  using rst2pdf
* Extensive cross-references: semantic markup and automatic links
  for functions, classes, glossary terms and similar pieces of information
* Hierarchical structure: easy definition of a document tree, with automatic
  links to siblings, parents and children
* Automatic indices: general index as well as a module index
* Code handling: automatic highlighting using the Pygments highlighter
* Flexible HTML output using the Jinja 2 templating engine
* Various extensions are available, e.g. for automatic testing of snippets
  and inclusion of appropriately formatted docstrings
* Setuptools integration

For more information, refer to the `the documentation`__.

.. __: http://www.sphinx-doc.org/

Installation
============

Sphinx is published on `PyPI`__ and can be installed from there::

   pip install -U sphinx

We also publish beta releases::

   pip install -U --pre sphinx

If you wish to install `Sphinx` for development purposes, refer to `the
contributors guide`__.

__ https://pypi.org/project/Sphinx/
__ http://www.sphinx-doc.org/en/master/internals/contributing.html

Documentation
=============

Documentation is available from `sphinx-doc.org`__.

__ http://www.sphinx-doc.org/

Get in touch
============

- Report bugs, suggest features or view the source code `on GitHub`_.
- For less well defined questions or ideas, use the `mailing list`_.

.. _on GitHub: https://github.com/sphinx-doc/sphinx
.. _mailing list: https://groups.google.com/forum/#!forum/sphinx-users

Please adhere to our `code of conduct`__.

__ http://www.sphinx-doc.org/en/master/code_of_conduct.html

Testing
=======

Continuous testing is provided by `Travis`__ (for unit tests and style checks
on Linux), `AppVeyor`__ (for unit tests on Windows), and `CircleCI`__ (for
large processes like TeX compilation).

For information on running tests locally, refer to `the contributors guide`__.

__ https://travis-ci.org/sphinx-doc/sphinx
__ https://ci.appveyor.com/project/sphinxdoc/sphinx
__ https://circleci.com/gh/sphinx-doc/sphinx
__ http://www.sphinx-doc.org/en/master/internals/contributing.html

Contributing
============

Refer to `the contributors guide`__.

__ http://www.sphinx-doc.org/en/master/internals/contributing.html

Release signatures
==================

Releases are signed with following keys:

* `498D6B9E <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x102C2C17498D6B9E>`_
* `5EBA0E07 <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x1425F8CE5EBA0E07>`_