Commit Graph

145 Commits

Author SHA1 Message Date
Zenon Mousmoulas
0a152cf17e Add a note about mkdocs.toc.TOCParser handle_entityref() and handle_charref()
in release notes.
2015-06-08 05:15:58 +03:00
Dougal Matthews
867d9bc529 Document extra_templates
Fixes #609
2015-06-07 15:18:14 +01:00
Dougal Matthews
d80474ac0c Merge pull request #604 from d0ugal/gh-deploy
Remove ghp-import dependency and update gh-deploy
2015-06-07 12:15:43 +01:00
Sam Hatfield
4948ef9a3a Updated documentation on pages configuration.
It now better reflects the new pages configuration format. The pages section
in `configuration.md` was also reduced to a summary, with most of the
details now in `writing-your-docs.md`. Also fixed a few typos.
2015-06-06 23:20:53 +01:00
Dougal Matthews
eecd83b998 Refactor gh-deploy and remove ghp-import requirement
This change modifies ghp-import to be a library and uses it instead of
calling the package with subprocess.

Fixes #598
Fixes #547
2015-06-06 10:17:26 +01:00
Dougal Matthews
ca5d6f918f Enable gh-deploy to work if the mkdocs.yml is not in the repo root
Fixes #578
2015-06-06 10:17:26 +01:00
Dougal Matthews
87a96bda51 Cover the metadata extension in the custom theme area
Closes #188
2015-06-06 08:50:33 +01:00
Dougal Matthews
3f01159a8f Merge pull request #600 from samhatfield/master
Cleaned up socket.error stack trace for mkdocs serve.
2015-06-06 08:17:14 +01:00
Dougal Matthews
f00ca8982b Merge pull request #602 from trel/patch-4
remove more lorem ipsum
2015-06-06 07:16:28 +01:00
Terrell Russell
bbe7ec8b23 remove more lorem ipsum
additional cruft...
2015-06-05 20:25:01 -04:00
Terrell Russell
d5743c0e29 remove lorem ipsum
requested in #599
2015-06-05 20:23:18 -04:00
Sam Hatfield
dedcd6d179 Updated release notes
According to 2032e6beeb.
2015-06-05 19:07:11 +01:00
Dougal Matthews
0130a90f2b Fixed links in the contributing page 2015-06-05 08:36:08 +01:00
Isaac
91b3b0f5f6 Improve clarity of yaml loading function for maintenance
-Reorganize the yaml loading function to make it more clear what is
happening.
-Comment more to to make explicitly clear what is happening.
-Remove unnecessary 'pass'
-Make a note that 'finally' should be removed when the root of the issue
is cleared up.
-Update release notes with info on change.
2015-06-04 15:12:41 -06:00
Sam Hatfield
92cc5557da Updated release notes according to 8cf56b397b 2015-06-04 12:10:31 +01:00
Dougal Matthews
85f1765ef0 Merge pull request #584 from jetm/master
Add copyright footer for readthedocs theme
2015-06-04 11:54:26 +01:00
Dougal Matthews
3e72675567 Merge pull request #585 from waylan/nosix
Removed six dependency.
2015-06-04 10:13:39 +01:00
Dougal Matthews
53fb2cffb8 Fixed link 2015-06-04 10:11:54 +01:00
Ankur Dedania
94527677ba Update deploying-your-docs.md
Fix url
2015-06-03 18:52:10 -05:00
Waylan Limberg
975b216c79 Removed six dependency. 2015-06-03 11:26:12 -04:00
Javier Tia
6530101085 release-notes: mention copyright footer readthedocs theme change 2015-06-03 02:45:56 -06:00
Waylan Limberg
96b98145fd Added common options to CLI: -q & -v.
The --quiet and --verbose options can be called from any command (parent or
subcommands), yet they are only defined once. Code adapted from:
https://github.com/mitsuhiko/click/issues/108#issuecomment-44691173

If either or both options are defined more than once by the user, the last
option defined is the only one which controls.

No support of -vvv to increase verbosity. MkDocks only utilizes a few
loging levels so the additional control offers no real value. Can always
be added later.

Updated release notes.
2015-06-02 09:20:32 -04:00
Waylan Limberg
afadfcb2b4 Add short options (-a) to CLI.
Updated release notes.
2015-06-02 09:20:02 -04:00
Terrell Russell
8842d1d98f grammar 2015-06-02 08:05:55 -04:00
Dougal Matthews
a8783d63a1 Open up for 0.14 changes 2015-06-02 10:08:01 +01:00
Dougal Matthews
fd9140e7d5 If the site_dir is within the docs_dir, display a warning not an error 2015-06-02 09:10:29 +01:00
Dougal Matthews
124e4cda74 Merge pull request #566 from waylan/deploying
Add "Deploying your Docs" page to the User Guide.
2015-05-31 18:59:56 +01:00
Dougal Matthews
24c22d7283 Add release notes for 0.13.2 2015-05-30 17:46:03 +01:00
Waylan Limberg
2d7fd14dca Removed list of common hosts per @d0ugal's request. 2015-05-28 10:15:01 -04:00
Waylan Limberg
f7be6c7282 Add "Deploying your Docs" page to the User Guide.
Fixed #477
2015-05-28 10:11:47 -04:00
Dougal Matthews
162d8a73dc Add release notes for 0.13.1 2015-05-27 08:18:46 +01:00
Terrell Russell
c055f6def4 typos 2015-05-26 20:31:26 -04:00
Dougal Matthews
f6b61d863c Add a note about installing the dev version
Fixes #548
2015-05-26 09:43:13 +01:00
Dougal Matthews
d2f6364c86 Planning to release tomorrow AOE 2015-05-25 17:47:21 +01:00
Dougal Matthews
7aa1aad841 More tweaks to the release notes 2015-05-25 16:19:36 +01:00
Dougal Matthews
26a414ffb3 Added missing release notes 2015-05-25 16:09:53 +01:00
Dougal Matthews
aeaa635a9a Remove reverted feature 2015-05-24 14:36:03 +01:00
Dougal Matthews
ca6db75a95 Start getting the 0.13 release notes together 2015-05-24 13:25:49 +01:00
Waylan Limberg
a6fc4f9420 Refactor Markdown Extension Options Config.
Config validation now handles all extension processing:

* Builtin extensions are defined and within the default scheme.
* User extensions are defined only as a list in the config. Note, this is
  a backward incompatable change from the previous (short-lived) release.
* The users extensions are added to the list of builtins.
* Any duplicates are accounted for in validation.
* Extension options are supported by a child key/value pair on the ext name.
* All extension options are compiled into a format Markdown accepts
  within the validation process and are saved to the internal `mdx_configs`
  config setting.
* The `mdx_configs` setting is private and raises an error if set by the user.
* A whole suite of tests were added to test all aspects of ext validation.

All relevant build tests were updated to pass the config to
`build.convert_markdown` as the config now handles all extension data.

The relevant documentation was updated to reflect the changes. While I was
at it, I spellchecked the entire document and made a few additional formatting
changes.

This fixes #519 plus a lot more.
2015-05-16 10:40:55 -04:00
Dougal Matthews
93a181a208 Merge pull request #516 from mbacho/master
Adding custom commit message option to gh_deploy
2015-05-15 11:16:17 +01:00
Chomba Ng'ang'a
0d2c63b97d Small fixes to gh-deploy command
Rename CLI option 'branch' to 'remote-branch'
Pass CLI remote-branch option value to load_config instead of gh_deploy in cli.py
Update documentation
2015-05-15 12:56:05 +03:00
Chomba Ng'ang'a
955abb678a Add documentation on remote_branch config option 2015-05-14 19:38:53 +03:00
Dougal Matthews
072eb41c01 Expose the full config to templates rather than extra directly.
This update changes cf10026 so that templates must now access extra with
{{ config.something }} rather than just {{ extra.something }}.
2015-05-12 07:26:33 +01:00
Dougal Matthews
cf10026b28 Add extra config to support global template vars
This change adds a new configuration option called `extra` which allows
uers to add an arbitrary set of data to the config that is passed to the
template context.

Fixes #144
2015-05-09 21:09:12 +01:00
peter1000
27b7dcb1f1 Fixes typo 2015-05-08 15:40:37 -03:00
Dougal Matthews
ccc0d40770 Merge pull request #503 from d0ugal/template-context
Expand further on the template context for custom themes
2015-05-07 07:44:10 +01:00
Dougal Matthews
db9ca221bb Revert "Set zip_safe=False"
This reverts commit 196e30d6b1.
2015-05-06 16:43:25 +01:00
Dougal Matthews
196e30d6b1 Set zip_safe=False 2015-05-06 16:23:20 +01:00
Dougal Matthews
95e39c57ef Expand further on the template context for custom themes 2015-05-05 15:18:30 +01:00
Dougal Matthews
8085c65c6a Refactor the pages configuration
The current pages configuration looks like this:

    pages:
    - ['index.md', 'Home']
    - ['writing-your-docs.md', 'User Guide', 'Writing your docs']
    - ['styling-your-docs.md', 'User Guide', 'Styling your docs']
    - ['configuration.md', 'User Guide', 'Configuration']
    - ['about/license.md', 'About', 'License']
    - ['about/release-notes.md', 'About', 'Release Notes']
    - ['about/contributing.md', 'About', 'Contributing']

This has a number of flaws:

- It isn't clear how to add second levels of navigation for
  newcomers. This is often queried and not easy to document.

- We are representing a tree structure as a set of flat items
  that need to be merged. This creates some interesting edge
  cases, for example:

    - ['writing-your-docs.md', 'User Guide']
    - ['styling-your-docs.md', 'User Guide', 'Styling your docs']

 Is the first entry a page with the title User Guide? or a page
 in the User Guide category with an automatic title.

- We are currently limited to two levels deep in the navigation.
  Changing this with the current structure isn't trivial.

This change adds a new format which makes the above configuration
look like this:

    pages:
    - Home: index.md
    - User Guide:
        - user-guide/writing-your-docs.md
        - user-guide/styling-your-docs.md
        - user-guide/configuration.md
    - About:
        - License: about/license.md
        - about/release-notes.md
        - Contributing: about/contributing.md

With this structure, we can more easily see the documentation
tree and it is far more obvious what the navigation will look
like. It also removes the ambiguous edge cases and opens up the
possibility of adding further levels to the navigation more
easily.

This change restructures the pages configuration, but doesn't yet
allow users to add further levels in the navigation.

Fixes #6
2015-05-05 08:38:18 +01:00