-
Notifications
You must be signed in to change notification settings - Fork 0
thebjorn/sphinx-unhashable
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. w:\srv>cd tmp w:\srv\tmp>mkdir sphxparams w:\srv\tmp>cd sphxparams w:\srv\tmp\sphxparams>emacs myfile.py w:\srv\tmp\sphxparams>cat myfile.py def foo((a, b)): "Returns sum of a and b." return a + b w:\srv\tmp\sphxparams>mkvirtualenv sphxparams New python executable in sphxparams\Scripts\python.exe Installing setuptools, pip...done. (sphxparams) w:\srv\tmp\sphxparams>setprojectdir . "w:\srv\tmp\sphxparams" is now the project directory for virtualenv "w:\srv\venv\sphxparams" "w:\srv\tmp\sphxparams" added to w:\srv\venv\sphxparams\Lib\site-packages\virtualenv_path_extensions.pth (sphxparams) w:\srv\tmp\sphxparams>python -V Python 2.7.12 (sphxparams) w:\srv\tmp\sphxparams>python -m pip install -U pip You are using pip version 6.0.6, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Collecting pip from https://pypi.python.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl#md5=297dbd16ef53bcef0447d245815f5144 Using cached pip-9.0.1-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 6.0.6 Uninstalling pip-6.0.6: Successfully uninstalled pip-6.0.6 Successfully installed pip-9.0.1 (sphxparams) w:\srv\tmp\sphxparams>pip install Sphinx Collecting Sphinx Using cached Sphinx-1.5.5-py2.py3-none-any.whl Collecting six>=1.5 (from Sphinx) Cache entry deserialization failed, entry ignored Downloading six-1.10.0-py2.py3-none-any.whl Collecting imagesize (from Sphinx) Using cached imagesize-0.7.1-py2.py3-none-any.whl Collecting Jinja2>=2.3 (from Sphinx) Cache entry deserialization failed, entry ignored Downloading Jinja2-2.9.6-py2.py3-none-any.whl (340kB) 100% |################################| 348kB 1.0MB/s Collecting docutils>=0.11 (from Sphinx) Cache entry deserialization failed, entry ignored Downloading docutils-0.13.1-py2-none-any.whl (537kB) 100% |################################| 542kB 812kB/s Collecting requests>=2.0.0 (from Sphinx) Using cached requests-2.13.0-py2.py3-none-any.whl Collecting babel!=2.0,>=1.3 (from Sphinx) Cache entry deserialization failed, entry ignored Downloading Babel-2.4.0-py2.py3-none-any.whl (6.8MB) 100% |################################| 6.8MB 140kB/s Collecting colorama>=0.3.5; sys_platform == "win32" (from Sphinx) Cache entry deserialization failed, entry ignored Downloading colorama-0.3.7-py2.py3-none-any.whl Collecting Pygments>=2.0 (from Sphinx) Cache entry deserialization failed, entry ignored Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB) 100% |################################| 849kB 691kB/s Collecting snowballstemmer>=1.1 (from Sphinx) Cache entry deserialization failed, entry ignored Downloading snowballstemmer-1.2.1-py2.py3-none-any.whl (64kB) 100% |################################| 71kB 1.2MB/s Collecting alabaster<0.8,>=0.7 (from Sphinx) Cache entry deserialization failed, entry ignored Downloading alabaster-0.7.10-py2.py3-none-any.whl Collecting MarkupSafe>=0.23 (from Jinja2>=2.3->Sphinx) Cache entry deserialization failed, entry ignored Downloading MarkupSafe-1.0.tar.gz Collecting pytz>=0a (from babel!=2.0,>=1.3->Sphinx) Cache entry deserialization failed, entry ignored Downloading pytz-2017.2-py2.py3-none-any.whl (484kB) 100% |################################| 491kB 290kB/s Installing collected packages: six, imagesize, MarkupSafe, Jinja2, docutils, requests, pytz, babel, colorama, Pygments, snowballstemmer, alabaster, Sphinx Running setup.py install for MarkupSafe ... done Successfully installed Jinja2-2.9.6 MarkupSafe-1.0 Pygments-2.2.0 Sphinx-1.5.5 alabaster-0.7.10 babel-2.4.0 colorama-0.3.7 docutils-0.13.1 imagesize-0.7.1 pytz-2017.2 requests-2.13.0 six-1.10.0 snowballstemmer-1.2.1 (sphxparams) w:\srv\tmp\sphxparams>sphinx-quickstart Welcome to the Sphinx 1.5.5 quickstart utility. Please enter values for the following settings (just press Enter to accept a default value, if one is given in brackets). Enter the root path for documentation. > Root path for the documentation [.]: docs You have two options for placing the build directory for Sphinx output. Either, you use a directory "_build" within the root path, or you separate "source" and "build" directories within the root path. > Separate source and build directories (y/n) [n]: Inside the root directory, two more directories will be created; "_templates" for custom HTML templates and "_static" for custom stylesheets and other static files. You can enter another prefix (such as ".") to replace the underscore. > Name prefix for templates and static dir [_]: The project name will occur in several places in the built documentation. > Project name: asdf > Author name(s): asdf Sphinx has the notion of a "version" and a "release" for the software. Each version can have multiple releases. For example, for Python the version is something like 2.5 or 3.0, while the release is something like 2.5.1 or 3.0a1. If you don't need this dual structure, just set both to the same value. > Project version []: 1.0.0 > Project release [1.0.0]: If the documents are to be written in a language other than English, you can select a language here by its language code. Sphinx will then translate text that it generates into that language. For a list of supported codes, see http://sphinx-doc.org/config.html#confval-language. > Project language [en]: The file name suffix for source files. Commonly, this is either ".txt" or ".rst". Only files with this suffix are considered documents. > Source file suffix [.rst]: One document is special in that it is considered the top node of the "contents tree", that is, it is the root of the hierarchical structure of the documents. Normally, this is "index", but if your "index" document is a custom template, you can also set this to another filename. > Name of your master document (without suffix) [index]: Sphinx can also add configuration for epub output: > Do you want to use the epub builder (y/n) [n]: Please indicate if you want to use one of the following Sphinx extensions: > autodoc: automatically insert docstrings from modules (y/n) [n]: y > doctest: automatically test code snippets in doctest blocks (y/n) [n]: > intersphinx: link between Sphinx documentation of different projects (y/n) [n]: > todo: write "todo" entries that can be shown or hidden on build (y/n) [n]: > coverage: checks for documentation coverage (y/n) [n]: > imgmath: include math, rendered as PNG or SVG images (y/n) [n]: > mathjax: include math, rendered in the browser by MathJax (y/n) [n]: > ifconfig: conditional inclusion of content based on config values (y/n) [n]: > viewcode: include links to the source code of documented Python objects (y/n) [n]: > githubpages: create .nojekyll file to publish the document on GitHub pages (y/n) [n]: A Makefile and a Windows command file can be generated for you so that you only have to run e.g. `make html' instead of invoking sphinx-build directly. > Create Makefile? (y/n) [y]: n > Create Windows command file? (y/n) [y]: Creating file docs\conf.py. Creating file docs\index.rst. Creating file docs\make.bat. Finished: An initial directory structure has been created. You should now populate your master file docs\index.rst and create other documentation source files. Use the Makefile to build the docs, like so: make builder where "builder" is one of the supported builders, e.g. html, latex or linkcheck. (sphxparams) w:\srv\tmp\sphxparams>tree . |-- docs | |-- _build | |-- _static | |-- _templates | |-- conf.py | |-- index.rst | `-- make.bat `-- myfile.py 4 directories, 4 files (sphxparams) w:\srv\tmp\sphxparams> (sphxparams) w:\srv\tmp\sphxparams>sphinx-apidoc -o docs . docs Creating file docs\myfile.rst. Creating file docs\modules.rst. (sphxparams) w:\srv\tmp\sphxparams>tree . |-- docs | |-- _build | |-- _static | |-- _templates | |-- conf.py | |-- index.rst | |-- make.bat | |-- modules.rst | `-- myfile.rst `-- myfile.py 4 directories, 8 files (sphxparams) w:\srv\tmp\sphxparams>emacs docs\index.rst (sphxparams) w:\srv\tmp\sphxparams>cat docs\index.rst .. asdf documentation master file, created by sphinx-quickstart on Tue Apr 11 13:49:24 2017. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to asdf's documentation! ================================ .. toctree:: :maxdepth: 2 :caption: Contents: modules Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search` (sphxparams) w:\srv\tmp\sphxparams>cd docs (sphxparams) w:\srv\tmp\sphxparams\docs>make html Running Sphinx v1.5.5 making output directory... loading pickled environment... not yet created building [mo]: targets for 0 po files that are out of date building [html]: targets for 3 source files that are out of date updating environment: 3 added, 0 changed, 0 removed reading sources... [100%] myfile w:\srv\tmp\sphxparams\docs\myfile.rst:4: WARNING: error while formatting arguments for myfile.foo: unhashable type: 'list' looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [100%] myfile generating indices... genindex py-modindex writing additional pages... search copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 1 warning. Build finished. The HTML pages are in _build\html. (sphxparams) w:\srv\tmp\sphxparams\docs>
Releases
No releases published
Packages 0
No packages published