Jun 16, 2015 Tag: TYPO3
It’s time to switch to a new theme on docs.typo3.org. Read here about the development, how things are going and how to contribute.
Updated on Jun 29, 2016
See also: TYPO3 documentation rendering
Navigate this page:
Tip: WIP - work in progress! I’m typing while you’re reading. Don’t be surprised when content suddenly changes.
Now there’s a : See a preview of syntax highlighting as well:
See a preview of the new theme in a new window:
Currently I’m working on a new theme for docs.typo3.org. This blogpost is the place where I keep my notes while developing. So don’t be surprised when this contents changes while you’re reading it.
Development of docs.typo3.org started around 2011.
(...)
Problems:
Things have changed:
ReadTheDocs hosts documentation for the open source community. They have developed a beautiful theme named sphinx_rtd_theme for Sphinx documentation. It can be found on Github. Find more information in this blogpost.
And, moreover, it’s one of the builtin themes by now that Sphinx brings along.
Modern, proven, maintained, well known, commonly used, beautiful, finetuned, covers most of the reST- and Sphinx HTML constructs, comes with “demodocs” right away.
The repository t3SphinxThemeRtd is the home of development.
To join the development fork t3SphinxRtd and send pullrequests. Use the issue tracker for communication.
Best choice:
Possible and recommended color schemes:
Until 2015-09-16
Until 2015-06-30
Until 2015-06-18
We can add OpenSearch! This is how it can look like.
Firefox offers and action to add the search of the manual to the list of permanently available search machines:
Tricky!
.pypirc
in your home folder¶[distutils]
index-servers =
pypi
pypitest
[pypi]
repository = https://pypi.python.org/pypi
username = marble
password = A-GOOD-PASSWORD
[pypitest]
repository = https://testpypi.python.org/pypi
username = marble
password = A-GOOD-PASSWORD
See https://wiki.python.org/moin/TestPyPI
Register the project at ‘testpypi’:
# the easy way - but not secure
python setup.py register -r https://testpypi.python.org/pypi
Build a wheel-distribution:
python setup.py bdist_wheel --universal
Upload securely:
twine upload dist/* -r pypitest
Uninstall existing versions:
pip uninstall t3SphinxThemeRtd
Search at testpypi:
# This should work but didn't when I tried immediately
# after uploading. It seems it takes a while.
pip search --index https://testpypi.python.org/pypi t3SphinxThemeRtd
Do a test-install from testpypi:
pip install --user -i https://testpypi.python.org/pypi t3SphinxThemeRtd
# verify that it has been installed and can be found
cd somewhere/else
python -c "import t3SphinxThemeRtd; print t3SphinxThemeRtd.__file__"
Register the project at ‘pypi’:
# the easy way - but not secure
python setup.py register
Build a wheel-distribution:
python setup.py bdist_wheel --universal
Upload securely:
twine upload dist/*
Uninstall existing versions:
pip uninstall t3SphinxThemeRtd
Search at testpypi:
# This should work but didn't when I tried immediately
# after uploading. It seems it takes a while.
pip search t3SphinxThemeRtd
Install using PIP:
pip install t3SphinxThemeRtd
# verify that it has been installed and can be found
cd somewhere/else
python -c "import t3SphinxThemeRtd; print t3SphinxThemeRtd.__file__"
Go to where you’ve cloned the reposiory:
cd ~/Repositories/github.com/TYPO3-Documentation/t3SphinxThemeRtd
Remove old builds:
rm -rf dist/*
Build a wheel-distribution:
python setup.py bdist_wheel --universal
Upload securely:
twine upload dist/*
Test the download, but don’t actually install:
# go somewhere
cd temp/
# download latest version to current folder
# was:
# pip install t3SphinxThemeRtd --upgrade --download .
# pip now has a download command:
pip download t3SphinxThemeRtd