| 1 |
.. -*- restructuredtext -*- |
| 2 |
|
| 3 |
.. _whats-new: |
| 4 |
|
| 5 |
=============== |
| 6 |
Release History |
| 7 |
=============== |
| 8 |
|
| 9 |
**1.10.1** (2020-05-04) |
| 10 |
======================= |
| 11 |
|
| 12 |
Administration |
| 13 |
-------------- |
| 14 |
* **This project has moved to Heptapod!** |
| 15 |
|
| 16 |
Due to BitBucket deprecating Mercurial support, this project's public repository and issue tracker |
| 17 |
has been relocated. It's now located at `<https://foss.heptapod.net/doc-utils/cloud_sptheme>`_, |
| 18 |
and is powered by `Heptapod <https://heptapod.net/>`_. |
| 19 |
|
| 20 |
Hosting for this and other open-source projects graciously provided by the people at |
| 21 |
`Octobus <https://octobus.net/>`_ and `CleverCloud <https://clever-cloud.com/>`_! |
| 22 |
|
| 23 |
The mailing list and documentation urls remain the same. |
| 24 |
|
| 25 |
Other Changes |
| 26 |
------------- |
| 27 |
|
| 28 |
* theme css: changed default font to "Roboto Mono", old one ("Droid Sans Mono") |
| 29 |
is no longer on google fonts. |
| 30 |
|
| 31 |
* theme config: "codevarfont" option now defaults to same as "codeblockfont" |
| 32 |
|
| 33 |
**1.10.0** (2019-11-22) |
| 34 |
======================= |
| 35 |
|
| 36 |
.. note:: |
| 37 |
|
| 38 |
This package now requires Sphinx >= 1.6, and should be compatible with Sphinx 2.x |
| 39 |
|
| 40 |
New Features |
| 41 |
------------- |
| 42 |
|
| 43 |
* :mod:`~cloud_sptheme.ext.table_styling`: Now supports ``table_styling_default_align`` config option, |
| 44 |
for setting the default table alignment (Sphinx 2 switched from ``"left"`` to ``"center"``, this |
| 45 |
allows projects to change it back). |
| 46 |
|
| 47 |
Other Changes |
| 48 |
------------- |
| 49 |
|
| 50 |
* theme css: Minor style adjustments |
| 51 |
|
| 52 |
Bugfixes |
| 53 |
-------- |
| 54 |
|
| 55 |
* :mod:`~cloud_sptheme.ext.role_index`: fix AttributeError under Sphinx 1.7+ (:issue:`38`) |
| 56 |
|
| 57 |
* **setup.py**: updated entrypoints to work with Sphinx 1.7+ (:issue:`39`) |
| 58 |
|
| 59 |
* theme css: layout fix for "sphinx.ext.viewcode" (:issue:`37`) |
| 60 |
|
| 61 |
* theme css & js: fixes Sphinx 1.6 - 2.2 compatibility (:issue:`42` and other corrections). |
| 62 |
|
| 63 |
* :mod:`~cloud_sptheme.ext.table_styling`: now plays nicely with docutils table ``:align:`` directive. |
| 64 |
|
| 65 |
**1.9.4** (2017-04-05) |
| 66 |
====================== |
| 67 |
|
| 68 |
* :mod:`~cloud_sptheme.ext.auto_redirect`: |
| 69 |
|
| 70 |
- simplified markup |
| 71 |
|
| 72 |
- skip popup if referrer is within document |
| 73 |
|
| 74 |
- bugfix: correctly handle source document that's not at root of url |
| 75 |
|
| 76 |
* bugfix: :mod:`~cloud_sptheme.ext.docfield_markup`: sphinx 1.5 compat fix |
| 77 |
|
| 78 |
* bugfix: :mod:`~cloud_sptheme.ext.table_styling`: header-alignment not being parsed correctly |
| 79 |
|
| 80 |
**1.9** (2017-04-02) |
| 81 |
==================== |
| 82 |
|
| 83 |
New Features |
| 84 |
------------ |
| 85 |
|
| 86 |
* Added :mod:`~cloud_sptheme.ext.auto_redirect` extension, |
| 87 |
to help alert users when documentation location has changed. |
| 88 |
|
| 89 |
* :mod:`~cloud_sptheme.ext.table_styling` now handles colspans correctly, |
| 90 |
and supports new ``:header-alignment:`` directive for setting separate |
| 91 |
alignment on header columns (:issue:`28`, :issue:`29`, and :issue:`33`). |
| 92 |
|
| 93 |
Other Changes |
| 94 |
------------- |
| 95 |
|
| 96 |
* The documentation is now located at `<https://cloud-sptheme.readthedocs.io>`_. |
| 97 |
The old location (`<http://pythonhosted.org/cloud_sptheme>`_) will be kept up to date for a while longer, |
| 98 |
but any links should be replaced. |
| 99 |
|
| 100 |
* :mod:`~cloud_sptheme.ext.issue_tracker`: removed google code preset format |
| 101 |
|
| 102 |
Bugfixes |
| 103 |
-------- |
| 104 |
* bugfix: js code updated to be compatible with jquery 3 |
| 105 |
|
| 106 |
* bugfix: :mod:`~cloud_sptheme.ext.page_only` no longer chokes on non-ascii chars in page |
| 107 |
|
| 108 |
* bugfix: :mod:`~cloud_sptheme.ext.table_styling` should no longer cause |
| 109 |
"directive already exists" warning under sphinx 1.5 (:issue:`32`). |
| 110 |
|
| 111 |
**1.8.3** (2017-2-8) |
| 112 |
==================== |
| 113 |
|
| 114 |
*Bugfix release* |
| 115 |
|
| 116 |
* bugfix: :mod:`~cloud_sptheme.ext.relbar_links`: fixed potential |
| 117 |
label/title mixup, added some unittests. |
| 118 |
|
| 119 |
* bugfix: Setup script should no longer append timestamp when building from sdist; |
| 120 |
which should fix some reproducible-build issues downstream. |
| 121 |
|
| 122 |
* Added tox.ini script, with some *very minimal* tests. |
| 123 |
|
| 124 |
* Updated documentation. |
| 125 |
|
| 126 |
**1.8.2** (2017-1-30) |
| 127 |
===================== |
| 128 |
|
| 129 |
*Bugfix release* |
| 130 |
|
| 131 |
* bugfix: :mod:`~cloud_sptheme.ext.relbar_links`: resolve translation proxies to prevent hash() error |
| 132 |
|
| 133 |
**1.8.1** (2017-1-30) |
| 134 |
===================== |
| 135 |
|
| 136 |
*Bugfixes*, and new "relbar_links" extension added: |
| 137 |
|
| 138 |
* :mod:`~cloud_sptheme.ext.relbar_toc` extension deprecreated, |
| 139 |
replaced with more flexible :mod:`~cloud_sptheme.ext.relbar_links` extension. |
| 140 |
This should also fix issues with broken links under 'dirhtml' and other builders. |
| 141 |
|
| 142 |
* Assorted internal fixes to CSS template. |
| 143 |
|
| 144 |
* Documentation layout updated. |
| 145 |
|
| 146 |
**1.8** (2016-11-20) |
| 147 |
==================== |
| 148 |
|
| 149 |
.. note:: |
| 150 |
|
| 151 |
This theme now requires Sphinx >= 1.4 |
| 152 |
|
| 153 |
New Features |
| 154 |
------------ |
| 155 |
|
| 156 |
* Admonitions now support "without-title" class to hide title prefix ("Note", "See also", etc) |
| 157 |
|
| 158 |
* Added :mod:`~cloud_sptheme.ext.role_index` extension |
| 159 |
|
| 160 |
* Added :mod:`~cloud_sptheme.ext.page_only` extension |
| 161 |
|
| 162 |
Other Changes |
| 163 |
------------- |
| 164 |
|
| 165 |
* Sticky sidebar code now allows sidebar to be scrolled independently |
| 166 |
of main document -- just scroll mouse while overing over sidebar. |
| 167 |
|
| 168 |
* Sidebar can now be viewed from mobile mode; hidden state is stored |
| 169 |
independently of large screen menu. |
| 170 |
|
| 171 |
* A large amount of the sidebar css & js was rewritten, |
| 172 |
many of the DOM classes have changed. |
| 173 |
|
| 174 |
Deprecations |
| 175 |
------------ |
| 176 |
|
| 177 |
* ``collapsablesidebar`` flag is now ignored, sidebar is always collapsable. |
| 178 |
flag will be removed in 1.9. |
| 179 |
|
| 180 |
Bugfixes |
| 181 |
-------- |
| 182 |
|
| 183 |
* Fixed :mod:`~cloud_sptheme.ext.index_styling` extension to be compatible with Sphinx 1.4 |
| 184 |
|
| 185 |
**1.7.1** (2015-12-12) |
| 186 |
====================== |
| 187 |
|
| 188 |
*Bugfix release* |
| 189 |
|
| 190 |
* Fixed divide-by-zero error under python 3 (:issue:`23`). |
| 191 |
|
| 192 |
* JS url comparison code now handles ``file://`` urls (:issue:`24`). |
| 193 |
|
| 194 |
* Now requires Sphinx >= 1.3. |
| 195 |
|
| 196 |
**1.7** (2015-07-25) |
| 197 |
==================== |
| 198 |
|
| 199 |
.. note:: |
| 200 |
|
| 201 |
This theme now requires Sphinx >= 1.2 (some of the javascript code won't work |
| 202 |
with the jquery version bundled in Sphinx 1.1 and earlier). |
| 203 |
|
| 204 |
New Features |
| 205 |
------------ |
| 206 |
|
| 207 |
* Function, class, and other object declaration now have colored backgrounds |
| 208 |
(controlled by ``colored_objects`` flag). |
| 209 |
|
| 210 |
* All python code blocks now have button to hide prompts & output text, |
| 211 |
for easier copying (Adapted from python's copybutton.js) (:issue:`17`). |
| 212 |
|
| 213 |
* Added :ref:`font sizing options <font-options>`. |
| 214 |
|
| 215 |
* Added :ref:`document options <decor-options>` to customize look and feel. |
| 216 |
|
| 217 |
* Added :mod:`cloud_sptheme.ext.autoattribute_search_bases` extension. |
| 218 |
|
| 219 |
* Added :mod:`cloud_sptheme.ext.docfield_markup` extension. |
| 220 |
|
| 221 |
Other Changes |
| 222 |
------------- |
| 223 |
|
| 224 |
* :mod:`~cloud_sptheme.ext.autodoc_sections` has been completely rewritten. |
| 225 |
now utilitizes docutil's native RST parser, creates real section elements |
| 226 |
rather than hacked up definition lists; should now handle *any* valid |
| 227 |
rest directive that can be put at module-level. |
| 228 |
|
| 229 |
* Added styling for 2nd-level section headers, and the nested section |
| 230 |
headers generated by :mod:`!autodoc_sections`. |
| 231 |
|
| 232 |
* Default font size adjusted for compactness. |
| 233 |
|
| 234 |
* The ``popuptoc`` feature has been removed. |
| 235 |
It was just too awkward to maintain the required styling. |
| 236 |
May revisit in the future using a JS-based approach. |
| 237 |
|
| 238 |
* Unified button hover look & color through relbar, sidebar, and body. |
| 239 |
|
| 240 |
* Completely rewrote TOC highlighter code, now indicates active section, |
| 241 |
and collapses inactive TOC entries that are too large. |
| 242 |
|
| 243 |
* Makes use of Sphinx 1.2's egg entry point, |
| 244 |
so :func:`~cloud_sptheme.get_theme_dir` no longer needs to be used directly. |
| 245 |
|
| 246 |
Bugfixes |
| 247 |
-------- |
| 248 |
|
| 249 |
* :mod:`~cloud_sptheme.ext.autodoc_sections` now monkeypatches sphinx |
| 250 |
so that `:param foo:` and other fields get formatted correctly |
| 251 |
when they're embedded in a nested section (:issue:`21`). |
| 252 |
|
| 253 |
* now compatibile with Sphinx 1.3's switch from ``<tt>`` to ``<code>`` |
| 254 |
for literals. |
| 255 |
|
| 256 |
* :mod:`!autodoc_sections` now monkeypatches sphinx |
| 257 |
so that ``:param foo:`` and other fields get formatted correctly |
| 258 |
when they're embedded in a nested section (:issue:`21`). |
| 259 |
|
| 260 |
* :mod:`!autodoc_sections` now handles method descriptors |
| 261 |
correctly (:issue:`16`). |
| 262 |
|
| 263 |
* the sidebar collapse state is now consistent across subfolders of document |
| 264 |
(:issue:`9`). |
| 265 |
|
| 266 |
* jumping to method or attribute permalink will now highlight the object. |
| 267 |
|
| 268 |
**1.6** (2013-12-28) |
| 269 |
==================== |
| 270 |
|
| 271 |
New Features |
| 272 |
------------ |
| 273 |
* Added ``rightsidebar`` option to base theme, ala the Sphinx default theme. |
| 274 |
* TOC entries which overflow sidebar now popup when hovered over |
| 275 |
(can be disabled via ``popuptoc = false``). |
| 276 |
* Added ``sidebar_localtoc_title`` and a number of other options for |
| 277 |
changing the titles of various links in the sidebar. |
| 278 |
* Added a sidebar called ``quicklinks.html``, which mirrors |
| 279 |
the navbar at the top and bottom of the page. |
| 280 |
* Various other small styling changes. |
| 281 |
|
| 282 |
.. |
| 283 |
undocumented features: |
| 284 |
|
| 285 |
* :mod:`!cloud_sptheme.ext.perpage` extension. |
| 286 |
|
| 287 |
Bugfixes |
| 288 |
-------- |
| 289 |
* Web font url now works with HTTPS |
| 290 |
* TOC highlighter now works with global toc (:issue:`7`) |
| 291 |
|
| 292 |
**1.5** (2012-10-01) |
| 293 |
==================== |
| 294 |
|
| 295 |
New Features |
| 296 |
------------ |
| 297 |
* Added ``plain``, ``centered``, and ``fullwidth`` css classes for positioning tables |
| 298 |
(see the :ref:`theme options <cloud-theme-usage>`). |
| 299 |
* Added new extension :mod:`cloud_sptheme.ext.table_styling`, |
| 300 |
which adds some per-column styling options to the ``.. table::`` directive. |
| 301 |
|
| 302 |
Other Changes |
| 303 |
------------- |
| 304 |
* Changed default font to Open Sans, for readability. |
| 305 |
|
| 306 |
* Removed all hardcoded ``pt`` or ``px`` font sizes, |
| 307 |
all sizes now specified as % of browser default. |
| 308 |
|
| 309 |
* Various improvements to mobile layout, including use of "viewport" metatag. |
| 310 |
|
| 311 |
Bugfixes |
| 312 |
-------- |
| 313 |
* Now compatible with jquery 1.8 (and thus sphinx 1.2) |
| 314 |
* Sticky sidebar code now more intelligent about various border cases. |
| 315 |
* Sticky sidebar now works when logo not present (:issue:`5`) |
| 316 |
* Sidebar toggle and headers now displayed correctly when printed (:issue:`4`) |
| 317 |
|
| 318 |
**1.4** (2012-08-02) |
| 319 |
==================== |
| 320 |
|
| 321 |
* Sidebar now collapsible by default (:issue:`3`). |
| 322 |
* Sidebar now "sticks" to window when scrolling. |
| 323 |
* Sidebar TOC now highlights sections currently being shown in window. |
| 324 |
* Numerous documentation updates. |
| 325 |
* Various minor bugfixes. |
| 326 |
* Now natively compatible with Python 3, the **2to3** command is no longer required. |
| 327 |
|
| 328 |
**1.3** (2012-05-01) |
| 329 |
==================== |
| 330 |
|
| 331 |
* Cleaned up documentation. |
| 332 |
|
| 333 |
* Redid css layouts. |
| 334 |
Cloud now has three layouts, controlled by css media queries: |
| 335 |
|
| 336 |
- "Normal" mode displays the document as a center-aligned |
| 337 |
box within the browser window. It will not grow |
| 338 |
to be larger than ``max_width`` (default 11 inches) in size. |
| 339 |
(This theme parameter was previously named ``docwidth``). |
| 340 |
|
| 341 |
- "Compact" mode strips the body padding to fill the whole window, |
| 342 |
but otherwise looks "Normal" mode. It will be used |
| 343 |
when the browser is less than ``compact_width`` (default 960 pixels) |
| 344 |
in size. This layout is new in 1.3. |
| 345 |
|
| 346 |
- "Minimal" mode strips excess padding, hides the sidebar, |
| 347 |
and does other things to reduce it's footprint as much as possible. |
| 348 |
This mode will be used if the browser is less than |
| 349 |
``minimal_width`` in size (currently 700px), or if it |
| 350 |
uses the ``"handheld"`` css media type. |
| 351 |
(This theme parameter was previously named ``smallwidth``). |
| 352 |
|
| 353 |
* Added :mod:`~cloud_sptheme.ext.issue_tracker` extension, |
| 354 |
for auto-creating links to a project's issue tracker. |
| 355 |
|
| 356 |
* Added :mod:`~cloud_sptheme.ext.escaped_samp_literals` extension, |
| 357 |
which patches Sphinx to allow literal ``{`` characters in *samp* roles. |
| 358 |
|
| 359 |
* Added optional Google Analytics integration. |
| 360 |
|
| 361 |
* Added ``collapsiblesidebar`` option, as well as ``defaultcollapsed`` option. |
| 362 |
Though sidebar is still always hidden under minimal mode. |
| 363 |
|
| 364 |
* Added a number of other ``rst-class`` styling directives. |
| 365 |
|
| 366 |
**1.2** (2011-07-11) |
| 367 |
==================== |
| 368 |
|
| 369 |
Minor stylistic changes to theme: |
| 370 |
|
| 371 |
* Changed section headers have colored background. |
| 372 |
|
| 373 |
* Added icons to admonitions. |
| 374 |
|
| 375 |
* Changed default font. |
| 376 |
|
| 377 |
* Other minor changes. |
| 378 |
|
| 379 |
**1.1** (2011-05-04) |
| 380 |
==================== |
| 381 |
|
| 382 |
New features: |
| 383 |
|
| 384 |
* CSS media query automatically hides sidebar & trim |
| 385 |
for small displays (e.g. mobile devices) |
| 386 |
|
| 387 |
* Toggleable sections javascript code rewritten, |
| 388 |
now auto-expands based on url hash. |
| 389 |
|
| 390 |
* The parser used by the :mod:`~cloud_sptheme.ext.autodoc_sections` extension |
| 391 |
is now much more robust, and relies on fewer assumptions about the source. |
| 392 |
|
| 393 |
* Fixed header margin glitch that was occurring under Chrome. |
| 394 |
|
| 395 |
* Various minor layout enhancements. |
| 396 |
|
| 397 |
**1.0** (2011-03-25) |
| 398 |
==================== |
| 399 |
|
| 400 |
First public release. |