mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 18:08:31 +07:00
6 lines
19 KiB
JSON
6 lines
19 KiB
JSON
{
|
|
"content": "<h1 id=\"release-notes\">Release Notes<a class=\"headerlink\" href=\"#release-notes\" title=\"Permanent link\">\uf0c1</a></h1>\n<hr />\n<h2 id=\"upgrading\">Upgrading<a class=\"headerlink\" href=\"#upgrading\" title=\"Permanent link\">\uf0c1</a></h2>\n<p>To upgrade MkDocs to the latest version, use pip:</p>\n<pre><code>pip install -U mkdocs\n</code></pre>\n<p>You can determine your currently installed version using <code>mkdocs --version</code>:</p>\n<pre><code>$ mkdocs --version\nmkdocs, version 0.14.0\n</code></pre>\n<h2 id=\"version-0150-2016-01-21\">Version 0.15.0 (2016-01-21)<a class=\"headerlink\" href=\"#version-0150-2016-01-21\" title=\"Permanent link\">\uf0c1</a></h2>\n<h3 id=\"major-additions-to-version-0150\">Major Additions to Version 0.15.0<a class=\"headerlink\" href=\"#major-additions-to-version-0150\" title=\"Permanent link\">\uf0c1</a></h3>\n<h4 id=\"add-support-for-installable-themes\">Add support for installable themes<a class=\"headerlink\" href=\"#add-support-for-installable-themes\" title=\"Permanent link\">\uf0c1</a></h4>\n<p>MkDocs now supports themes that are distributed via Python packages. With this\naddition, the Bootstrap and Bootswatch themes have been moved to external git\nrepositories and python packages. See their individual documentation for more\ndetails about these specific themes.</p>\n<ul>\n<li><a href=\"http://mkdocs.github.io/mkdocs-bootstrap/\">MkDocs Bootstrap</a></li>\n<li><a href=\"http://mkdocs.github.io/mkdocs-bootswatch/\">MkDocs Bootswatch</a></li>\n</ul>\n<p>They will be included with MkDocs by default until the 1.0 release. After that\nthey will be installable with pip: <code>pip install mkdocs-bootstrap</code> and <code>pip\ninstall mkdocs-bootswatch</code></p>\n<p>See the documentation for <a href=\"../../user-guide/styling-your-docs/\">Styling your docs</a> for more information about using\nand customising themes and <a href=\"../../user-guide/custom-themes/\">Custom themes</a> for creating and distributing new\nthemes</p>\n<h3 id=\"other-changes-and-additions-to-version-0150\">Other Changes and Additions to Version 0.15.0<a class=\"headerlink\" href=\"#other-changes-and-additions-to-version-0150\" title=\"Permanent link\">\uf0c1</a></h3>\n<ul>\n<li>Fix issues when using absolute links to Markdown files. (#628)</li>\n<li>Deprecate support of Python 2.6, pending removal in 1.0.0. (#165)</li>\n<li>Add official support for Python version 3.5.</li>\n<li>Add support for <a href=\"../../user-guide/configuration/#site_description\">site_description</a> and <a href=\"../../user-guide/configuration/#site_author\">site_author</a> to the <a href=\"../../user-guide/styling-your-docs/#readthedocs\">ReadTheDocs</a>\n theme. (#631)</li>\n<li>Update FontAwesome to 4.5.0. (#789)</li>\n<li>Increase IE support with X-UA-Compatible. (#785)</li>\n<li>Added support for Python's <code>-m</code> flag. (#706)</li>\n<li>Bugfix: Ensure consistent ordering of auto-populated pages. (#638)</li>\n<li>Bugfix: Scroll the tables of contents on the MkDocs theme if it is too long\n for the page. (#204)</li>\n<li>Bugfix: Add all ancestors to the page attribute <code>ancestors</code> rather than just\n the initial one. (#693)</li>\n<li>Bugfix: Include HTML in the build output again. (#691)</li>\n<li>Bugfix: Provide filename to Read the Docs. (#721 and RTD#1480)</li>\n<li>Bugfix: Silence Click's unicode_literals warning. (#708)</li>\n</ul>\n<h2 id=\"version-0140-2015-06-09\">Version 0.14.0 (2015-06-09)<a class=\"headerlink\" href=\"#version-0140-2015-06-09\" title=\"Permanent link\">\uf0c1</a></h2>\n<ul>\n<li>Improve Unicode handling by ensuring that all config strings are loaded as\n Unicode. (#592)</li>\n<li>Remove dependancy on the six library. (#583)</li>\n<li>Remove dependancy on the ghp-import library. (#547)</li>\n<li>Add <code>--quiet</code> and <code>--verbose</code> options to all subcommands. (#579)</li>\n<li>Add short options (<code>-a</code>) to most command line options. (#579)</li>\n<li>Add copyright footer for readthedocs theme. (#568)</li>\n<li>If the requested port in <code>mkdocs serve</code> is already in use, don't show the\n user a full stack trace. (#596)</li>\n<li>Bugfix: Fix a JavaScript encoding problem when searching with spaces. (#586)</li>\n<li>Bugfix: gh-deploy now works if the mkdocs.yml is not in the git repo root.\n (#578)</li>\n<li>Bugfix: Handle (pass-through instead of dropping) HTML entities while\n parsing TOC. (#612)</li>\n<li>Bugfix: Default extra_templates to an empty list, don't automatically\n discover them. (#616)</li>\n</ul>\n<h2 id=\"version-0133-2015-06-02\">Version 0.13.3 (2015-06-02)<a class=\"headerlink\" href=\"#version-0133-2015-06-02\" title=\"Permanent link\">\uf0c1</a></h2>\n<ul>\n<li>Bugfix: Reduce validation error to a warning if the site_dir is within\n the docs_dir as this shouldn't cause any problems with building but will\n inconvenience users building multiple times. (#580)</li>\n</ul>\n<h2 id=\"version-0132-2015-05-30\">Version 0.13.2 (2015-05-30)<a class=\"headerlink\" href=\"#version-0132-2015-05-30\" title=\"Permanent link\">\uf0c1</a></h2>\n<ul>\n<li>Bugfix: Ensure all errors and warnings are logged before exiting. (#536)</li>\n<li>Bugfix: Fix compatibility issues with ReadTheDocs. (#554)</li>\n</ul>\n<h2 id=\"version-0131-2015-05-27\">Version 0.13.1 (2015-05-27)<a class=\"headerlink\" href=\"#version-0131-2015-05-27\" title=\"Permanent link\">\uf0c1</a></h2>\n<ul>\n<li>Bugfix: Fix a problem with minimal configurations which only contain a list\n of paths in the pages config. (#562)</li>\n</ul>\n<h2 id=\"version-0130-2015-05-26\">Version 0.13.0 (2015-05-26)<a class=\"headerlink\" href=\"#version-0130-2015-05-26\" title=\"Permanent link\">\uf0c1</a></h2>\n<h3 id=\"deprecations-to-version-0130\">Deprecations to Version 0.13.0<a class=\"headerlink\" href=\"#deprecations-to-version-0130\" title=\"Permanent link\">\uf0c1</a></h3>\n<h4 id=\"deprecate-the-json-command\">Deprecate the JSON command<a class=\"headerlink\" href=\"#deprecate-the-json-command\" title=\"Permanent link\">\uf0c1</a></h4>\n<p>In this release the <code>mkdocs json</code> command has been marked as deprecated and\nwhen used a deprecation warning will be shown. It will be removed in a <a href=\"https://github.com/mkdocs/mkdocs/pull/481\">future\nrelease</a> of MkDocs, version 1.0 at the latest. The <code>mkdocs json</code> command\nprovided a convenient way for users to output the documentation contents as\nJSON files but with the additions of search to MkDocs this functionality is\nduplicated.</p>\n<p>A new index with all the contents from a MkDocs build is created in the\n<a href=\"../../user-guide/configuration/#site_dir\">site_dir</a>, so with the default value for the <code>site_dir</code> It can be found in\n<code>site/mkdocs/search_index.json</code>.</p>\n<p>This new file is created on every MkDocs build (with <code>mkdocs build</code>) and\nno configuration is needed to enable it.</p>\n<h4 id=\"change-the-pages-configuration\">Change the pages configuration<a class=\"headerlink\" href=\"#change-the-pages-configuration\" title=\"Permanent link\">\uf0c1</a></h4>\n<p>Provide a <a href=\"../../user-guide/writing-your-docs/#configure-pages-and-navigation\">new way</a> to define pages, and specifically <a href=\"../../user-guide/writing-your-docs/#multilevel-documentation\">nested pages</a>, in the\nmkdocs.yml file and deprecate the existing approach, support will be removed\nwith MkDocs 1.0.</p>\n<h4 id=\"warn-users-about-the-removal-of-builtin-themes\">Warn users about the removal of builtin themes<a class=\"headerlink\" href=\"#warn-users-about-the-removal-of-builtin-themes\" title=\"Permanent link\">\uf0c1</a></h4>\n<p>All themes other than mkdocs and readthedocs will be moved into external\npackages in a future release of MkDocs. This will enable them to be more easily\nsupported and updates outside MkDocs releases.</p>\n<h3 id=\"major-additions-to-version-0130\">Major Additions to Version 0.13.0<a class=\"headerlink\" href=\"#major-additions-to-version-0130\" title=\"Permanent link\">\uf0c1</a></h3>\n<h4 id=\"search\">Search<a class=\"headerlink\" href=\"#search\" title=\"Permanent link\">\uf0c1</a></h4>\n<p>Support for search has now been added to MkDocs. This is based on the\nJavaScript library <a href=\"http://lunrjs.com/\">lunr.js</a>. It has been added to both the <code>mkdocs</code> and\n<code>readthedocs</code> themes. See the custom theme documentation on <a href=\"../../user-guide/styling-your-docs/#search-and-themes\">supporting search</a>\nfor adding it to your own themes.</p>\n<h4 id=\"new-command-line-interface\">New Command Line Interface<a class=\"headerlink\" href=\"#new-command-line-interface\" title=\"Permanent link\">\uf0c1</a></h4>\n<p>The command line interface for MkDocs has been re-written with the Python\nlibrary <a href=\"http://click.pocoo.org/4/\">Click</a>. This means that MkDocs now has an easier to use interface\nwith better help output.</p>\n<p>This change is partially backwards incompatible as while undocumented it was\npossible to pass any configuration option to the different commands. Now only\na small subset of the configuration options can be passed to the commands. To\nsee in full commands and available arguments use <code>mkdocs --help</code> and\n<code>mkdocs build --help</code> to have them displayed.</p>\n<h4 id=\"support-extra-html-and-xml-files\">Support Extra HTML and XML files<a class=\"headerlink\" href=\"#support-extra-html-and-xml-files\" title=\"Permanent link\">\uf0c1</a></h4>\n<p>Like the <a href=\"../../user-guide/configuration/#extra_javascript\">extra_javascript</a> and <a href=\"../../user-guide/configuration/#extra_css\">extra_css</a> configuration options, a new\noption named <a href=\"../../user-guide/configuration/#extra_templates\">extra_templates</a> has been added. This will automatically be\npopulated with any <code>.html</code> or <code>.xml</code> files in the project docs directory.</p>\n<p>Users can place static HTML and XML files and they will be copied over, or they\ncan also use Jinja2 syntax and take advantage of the <a href=\"../../user-guide/styling-your-docs/#global-context\">global variables</a>.</p>\n<p>By default MkDocs will use this approach to create a sitemap for the\ndocumentation.</p>\n<h3 id=\"other-changes-and-additions-to-version-0130\">Other Changes and Additions to Version 0.13.0<a class=\"headerlink\" href=\"#other-changes-and-additions-to-version-0130\" title=\"Permanent link\">\uf0c1</a></h3>\n<ul>\n<li>Add support for <a href=\"../../user-guide/configuration/#markdown_extensions\">Markdown extension configuration options</a>. (#435)</li>\n<li>MkDocs now ships Python <a href=\"http://pythonwheels.com/\">wheels</a>. (#486)</li>\n<li>Only include the build date and MkDocs version on the homepage. (#490)</li>\n<li>Generate sitemaps for documentation builds. (#436)</li>\n<li>Add a clearer way to define nested pages in the configuration. (#482)</li>\n<li>Add an <a href=\"../../user-guide/configuration/#extra\">extra config</a> option for passing arbitrary variables to the template. (#510)</li>\n<li>Add <code>--no-livereload</code> to <code>mkdocs serve</code> for a simpler development server. (#511)</li>\n<li>Add copyright display support to all themes (#549)</li>\n<li>Add support for custom commit messages in a <code>mkdocs gh-deploy</code> (#516)</li>\n<li>Bugfix: Fix linking to media within the same directory as a markdown file\n called index.md (#535)</li>\n<li>Bugfix: Fix errors with unicode filenames (#542).</li>\n</ul>\n<h2 id=\"version-0122-2015-04-22\">Version 0.12.2 (2015-04-22)<a class=\"headerlink\" href=\"#version-0122-2015-04-22\" title=\"Permanent link\">\uf0c1</a></h2>\n<ul>\n<li>Bugfix: Fix a regression where there would be an error if some child titles\n were missing but others were provided in the pages config. (#464)</li>\n</ul>\n<h2 id=\"version-0121-2015-04-14\">Version 0.12.1 (2015-04-14)<a class=\"headerlink\" href=\"#version-0121-2015-04-14\" title=\"Permanent link\">\uf0c1</a></h2>\n<ul>\n<li>Bugfix: Fixed a CSS bug in the table of contents on some browsers where the\n bottom item was not clickable.</li>\n</ul>\n<h2 id=\"version-0120-2015-04-14\">Version 0.12.0 (2015-04-14)<a class=\"headerlink\" href=\"#version-0120-2015-04-14\" title=\"Permanent link\">\uf0c1</a></h2>\n<ul>\n<li>Display the current MkDocs version in the CLI output. (#258)</li>\n<li>Check for CNAME file when using gh-deploy. (#285)</li>\n<li>Add the homepage back to the navigation on all themes. (#271)</li>\n<li>Add a strict more for local link checking. (#279)</li>\n<li>Add Google analytics support to all themes. (#333)</li>\n<li>Add build date and MkDocs version to the ReadTheDocs and MkDocs theme\n outputs. (#382)</li>\n<li>Standardise highlighting across all themes and add missing languages. (#387)</li>\n<li>Add a verbose flag. (-v) to show more details about what the build. (#147)</li>\n<li>Add the option to specify a remote branch when deploying to GitHub. This\n enables deploying to GitHub pages on personal and repo sites. (#354)</li>\n<li>Add favicon support to the ReadTheDocs theme HTML. (#422)</li>\n<li>Automatically refresh the browser when files are edited. (#163)</li>\n<li>Bugfix: Never re-write URL's in code blocks. (#240)</li>\n<li>Bugfix: Don't copy ditfiles when copying media from the <code>docs_dir</code>. (#254)</li>\n<li>Bugfix: Fix the rendering of tables in the ReadTheDocs theme. (#106)</li>\n<li>Bugfix: Add padding to the bottom of all bootstrap themes. (#255)</li>\n<li>Bugfix: Fix issues with nested Markdown pages and the automatic pages\n configuration. (#276)</li>\n<li>Bugfix: Fix a URL parsing error with GitHub enterprise. (#284)</li>\n<li>Bugfix: Don't error if the mkdocs.yml is completely empty. (#288)</li>\n<li>Bugfix: Fix a number of problems with relative urls and Markdown files. (#292)</li>\n<li>Bugfix: Don't stop the build if a page can't be found, continue with other\n pages. (#150)</li>\n<li>Bugfix: Remove the site_name from the page title, this needs to be added\n manually. (#299)</li>\n<li>Bugfix: Fix an issue with table of contents cutting off Markdown. (#294)</li>\n<li>Bugfix: Fix hostname for BitBucket. (#339)</li>\n<li>Bugfix: Ensure all links end with a slash. (#344)</li>\n<li>Bugfix: Fix repo links in the readthedocs theme. (#365)</li>\n<li>Bugfix: Include jQuery locally to avoid problems using MkDocs offline. (#143)</li>\n<li>Bugfix: Don't allow the docs_dir to be in the site_dir or vice versa. (#384)</li>\n<li>Bugfix: Remove inline CSS in the ReadTheDocs theme. (#393)</li>\n<li>Bugfix: Fix problems with the child titles due to the order the pages config\n was processed. (#395)</li>\n<li>Bugfix: Don't error during live reload when the theme doesn't exist. (#373)</li>\n<li>Bugfix: Fix problems with the Meta extension when it may not exist. (#398)</li>\n<li>Bugfix: Wrap long inline code otherwise they will run off the screen. (#313)</li>\n<li>Bugfix: Remove HTML parsing regular expressions and parse with HTMLParser to\n fix problems with titles containing code. (#367)</li>\n<li>Bugfix: Fix an issue with the scroll to anchor causing the title to be hidden\n under the navigation. (#7)</li>\n<li>Bugfix: Add nicer CSS classes to the HTML tables in bootswatch themes. (#295)</li>\n<li>Bugfix: Fix an error when passing in a specific config file with\n <code>mkdocs serve</code>. (#341)</li>\n<li>Bugfix: Don't overwrite index.md diles with the <code>mkdocs new</code> command. (#412)</li>\n<li>Bugfix: Remove bold and italic from code in the ReadTheDocs theme. (#411)</li>\n<li>Bugfix: Display images inline in the MkDocs theme. (#415)</li>\n<li>Bugfix: Fix problems with no-highlight in the ReadTheDocs theme. (#319)</li>\n<li>Bugfix: Don't delete hidden files when using <code>mkdocs build --clean</code>. (#346)</li>\n<li>Bugfix: Don't block newer verions of Python-markdown on Python >= 2.7. (#376)</li>\n<li>Bugfix: Fix encoding issues when opening files across platforms. (#428)</li>\n</ul>\n<h2 id=\"version-0111-2014-11-20\">Version 0.11.1 (2014-11-20)<a class=\"headerlink\" href=\"#version-0111-2014-11-20\" title=\"Permanent link\">\uf0c1</a></h2>\n<ul>\n<li>Bugfix: Fix a CSS wrapping issue with code highlighting in the ReadTheDocs\n theme. (#233)</li>\n</ul>\n<h2 id=\"version-0110-2014-11-18\">Version 0.11.0 (2014-11-18)<a class=\"headerlink\" href=\"#version-0110-2014-11-18\" title=\"Permanent link\">\uf0c1</a></h2>\n<ul>\n<li>Render 404.html files if they exist for the current theme. (#194)</li>\n<li>Bugfix: Fix long nav bars, table rendering and code highlighting in MkDocs\n and ReadTheDocs themes. (#225)</li>\n<li>Bugfix: Fix an issue with the google_analytics code. (#219)</li>\n<li>Bugfix: Remove <code>__pycache__</code> from the package tar. (#196)</li>\n<li>Bugfix: Fix markdown links that go to an anchor on the current page. (#197)</li>\n<li>Bugfix: Don't add <code>prettyprint well</code> CSS classes to all HTML, only add it in\n the MkDocs theme. (#183)</li>\n<li>Bugfix: Display section titles in the ReadTheDocs theme. (#175)</li>\n<li>Bugfix: Use the polling observer in watchdog so rebuilding works on\n filesystems without inotify. (#184)</li>\n<li>Bugfix: Improve error output for common configuration related errors. (#176)</li>\n</ul>\n<h2 id=\"version-0100-2014-10-29\">Version 0.10.0 (2014-10-29)<a class=\"headerlink\" href=\"#version-0100-2014-10-29\" title=\"Permanent link\">\uf0c1</a></h2>\n<ul>\n<li>Added support for Python 3.3 and 3.4. (#103)</li>\n<li>Configurable Python-Markdown extensions with the config setting\n <code>markdown_extensions</code>. (#74)</li>\n<li>Added <code>mkdocs json</code> command to output your rendered\n documentation as json files. (#128)</li>\n<li>Added <code>--clean</code> switch to <code>build</code>, <code>json</code> and <code>gh-deploy</code> commands to\n remove stale files from the output directory. (#157)</li>\n<li>Support multiple theme directories to allow replacement of\n individual templates rather than copying the full theme. (#129)</li>\n<li>Bugfix: Fix <code><ul></code> rendering in readthedocs theme. (#171)</li>\n<li>Bugfix: Improve the readthedocs theme on smaller displays. (#168)</li>\n<li>Bugfix: Relaxed required python package versions to avoid clashes. (#104)</li>\n<li>Bugfix: Fix issue rendering the table of contents with some configs. (#146)</li>\n<li>Bugfix: Fix path for embedded images in sub pages. (#138)</li>\n<li>Bugfix: Fix <code>use_directory_urls</code> config behaviour. (#63)</li>\n<li>Bugfix: Support <code>extra_javascript</code> and <code>extra_css</code> in all themes. (#90)</li>\n<li>Bugfix: Fix path-handling under Windows. (#121)</li>\n<li>Bugfix: Fix the menu generation in the readthedocs theme. (#110)</li>\n<li>Bugfix: Fix the mkdocs command creation under Windows. (#122)</li>\n<li>Bugfix: Correctly handle external <code>extra_javascript</code> and <code>extra_css</code>. (#92)</li>\n<li>Bugfix: Fixed favicon support. (#87)</li>\n</ul>",
|
|
"url": "/about/release-notes/",
|
|
"language": "en",
|
|
"title": "Release Notes"
|
|
} |