300 Commits

Author SHA1 Message Date
Tom Christie
4a532be1f0 Deprecate include_nav and include_next_previous.
Fixes #679 and #681.
2016-08-15 20:39:53 -04:00
Waylan Limberg
b623323980 Add --force flag to gh-deploy command.
This replicates the recent addition to the ghp_import.py tool (see
https://github.com/davisp/ghp-import/commit/49cfe6e6).
The default is to not force, but if needed (perhaps when deploying
from a CI server), the --force flag can be included.

Fixes #973.
2016-08-11 10:27:07 -04:00
Waylan Limberg
ea02a2eea3 Deprecate auto-populating extra_css/javascript. 2016-08-09 22:50:35 -04:00
Waylan Limberg
63558bffe3 Enforce stricter docs_dir validation. (#996)
Raise an error when site_dir is in docs_dir (as opposed to a warning)
and raise an error when docs_dir is the parent dir of the config file.
Fixes #610 and #972.
2016-08-05 10:24:26 -04:00
Waylan Limberg
bc35869d34 Don't override config value for strict mode if not specified on CLI.
The different import path in __main__.py allows us to patch load_config.
See https://docs.python.org/3/library/unittest.mock.html#where-to-patch
Fixes #738
2016-08-04 14:44:39 -04:00
Andrew E Slaughter
81664fac4a A simple method for providing a quick/dirty reload option (refs #990) 2016-07-27 08:33:25 -06:00
Dougal Matthews
ec6f642d05 Merge pull request #980 from d0ugal/issue/coc
Adopt the PyPA Code of Conduct
2016-06-28 23:03:18 +01:00
Dougal Matthews
9a0e35c774 Adopt the PyPA Code of Conduct 2016-06-28 21:22:22 +01:00
Dougal Matthews
4bb605c6cb Add a note about the MkDocs team members.
We never explicitly listed people before, this should make it
clearer who is behind the project.

Fixes #950
2016-06-28 20:59:34 +01:00
Loren Gordon
b36646bef3 Use the edit url for the GitHub 'Edit on...' links 2016-06-28 10:59:20 -04:00
Waylan Limberg
37a542cdb2 Improve documentation regarding template blocks. 2016-05-27 11:06:04 -04:00
Waylan Limberg
3c6504fd7d Support theme customization with template blocks
This is a backward incompatable change as it switches the primary
template from base.html to main.html.  See the release notes for
details.

Partially addresses #607.
2016-05-27 11:03:52 -04:00
Waylan Limberg
66b00e51da Follow links when copying media files.
Fixes #869.
2016-05-25 13:50:09 -04:00
Waylan Limberg
8b006bd7fd Support SOURCE_DATE_EPOCH environment variable for "reproducible" builds.
Fixes #938.
2016-05-16 19:45:55 -04:00
Waylan Limberg
f8a0ac6e03 Refactor page specific template variables.
A deprecation warning is issued for all old variables and all new
page specific variables are attributes of the 'page' object.

Global variables are uneffected, except page_description.

See the changes described in the release notes for details.

Fixes #874.
2016-05-01 19:40:00 -04:00
Dougal Matthews
d8d8341808 Fix the feedback from LinkChecker and enforce it in the Travis config 2016-04-29 11:09:48 +01:00
Waylan Limberg
e2e8dee2fd Update 0.16 release notes to include recent changes. 2016-04-26 13:22:11 -04:00
Dougal Matthews
a59aa7c490 Add a node to the release notes 2016-03-09 09:04:39 +00:00
Dougal Matthews
614de78e9a Add release note for #728 2016-03-03 10:16:08 +00:00
Dougal Matthews
6e44264461 Add release notes for the two recent PRs 2016-03-03 09:39:45 +00:00
Dougal Matthews
1c252ba4bb Convert context to JSON when it is being passed to JavaScript
Fixes #850
2016-03-02 08:19:35 +00:00
Dougal Matthews
cc1c9a3adb Remove external themes from MkDocs
This change removes the dependency on mkdocs-bootstrap and mkdocs-bootswatch.
It also updates all references in the code. The only remaining connection is
when a user specifies one of these themes but they are not installed they get
slightly helpful error.
2016-03-01 10:53:02 +00:00
Dougal Matthews
6ba0ae372c Add a mention to the release notes for the style change
see #718
2016-02-25 08:01:47 +00:00
Dougal Matthews
16f446e906 Fix issues with unicode filenames on Windows and Python 2.
To resolve this error, we need to explicitly encode the string
before we call pathname2url.

Closes #833
2016-02-24 08:01:46 +00:00
Dougal Matthews
59d6c26ec9 Tweak the release notes 2016-02-23 20:06:03 +00:00
Paul
c125985af9 Added a release note about the new flag 2016-02-23 12:09:48 -06:00
Dougal Matthews
2df8d5ece8 Update release-notes.md 2016-02-18 22:10:03 +00:00
Dougal Matthews
34bb1c4567 Prepare to roll a release 2016-02-18 21:35:45 +00:00
Dougal Matthews
6619010702 Handle relative paths in symlinks
Fixes #639
2016-02-18 21:34:50 +00:00
Dougal Matthews
d0139ccb49 Update release notes 2016-02-09 10:38:25 +00:00
Dougal Matthews
8c020f83b9 Update the example version 2016-02-08 09:16:26 +00:00
Dougal Matthews
09253e9cac Bump version to 0.15.2 2016-02-08 09:08:31 +00:00
Dougal Matthews
e904b103ed Add note to release notes 2016-02-05 12:23:47 +00:00
Prayag Verma
cc1f81e9de Minor typo
Remove extra `the`
2016-02-01 01:52:19 +05:30
Dougal Matthews
8a37ba8296 Update release notes 2016-01-30 08:27:52 +00:00
Dougal Matthews
a59ade70ec Bump version to 0.15.0 2016-01-21 09:48:48 +00:00
Waylan Limberg
ffbad6685b Update release notes 2016-01-14 20:22:04 -05:00
Waylan Limberg
bd33c4b76b Corrected lint errors in Markdown docs.
Also added README.md and CONTRIBUTING.md to the linter.

Note, that I am still getting one failer (in two locations). However
I consider that failer a bug in the linter and have reported it
upstream. We could disable that Rule (MD031), but as we are not
requiring the lint rules to pass presently, I just left it alone.

Also, while the code linter is set to allow lines 119 chars long,
I am using the Markdown linter's default of 80. Prose is easier to
read with shorter line lenghts, so I think it makes more sense to
use the default. Also, changing the default would have required
adding a config file. Adding a Ruby file for only one minor setting
seems silly, so I left it alone.
2015-08-13 10:18:34 -04:00
Dougal Matthews
567bee1cbf Add a note about including HTML files again 2015-07-25 15:08:02 +01:00
Dougal Matthews
a28dff0bcc Add the Page ancestors fix to the release notes 2015-07-25 15:02:05 +01:00
Dougal Matthews
fdce51d070 Add a note to the release notes for the TOC fix 2015-07-25 14:51:21 +01:00
Dougal Matthews
0c465a81d0 Change the deadline for Python 2.6 Removal
I was being a bit over eager.
2015-07-01 20:58:42 +01:00
Dougal Matthews
857ef4b3cf Start the deprecation of Python 2.6 support
See #165
2015-06-28 22:11:29 +01:00
Dougal Matthews
764b24be22 Added theme packaging to the release notes 2015-06-27 11:03:43 +01:00
Waylan Limberg
9a667c5337 Ensure consistent ordering of auto-populated pages.
Both files and directories should be sorted to ensure consistent ordering of
pages in the menus across builds and systems. Turns out to be a simple fix.
As `os.walk` provides a reference to the list of dirs it uses internally,
we can modify that list in place and it will use the modified list.

While this may not give proper alphanumeric ordering for all languages,
it goes ensure consistent ordering. For more control over ordering,
it is expected that a plugin could be used once that API becomes available.

Fixes #638.
2015-06-26 20:04:58 -04:00
Dougal Matthews
e16f9384ea Add site_author and site_description to the ReadTheDocs theme
Fixes #631
2015-06-16 09:24:26 +01:00
Dougal Matthews
7e9cdc7955 Added release notes for 48c0752 2015-06-12 15:59:23 +01:00
Dougal Matthews
3f89332156 Link to the Markdown, not the built output location
This means the links will work in GitHub etc.
2015-06-11 09:59:56 +01:00
Dougal Matthews
d4e87c3b6a Bump version 2015-06-09 10:07:48 +01:00
Dougal Matthews
a3dfa6af3a Done some quick editing to tidy the release notes. 2015-06-09 08:41:19 +01:00