116 Commits

Author SHA1 Message Date
Dougal Matthews
24c22d7283 Add release notes for 0.13.2 2015-05-30 17:46:03 +01: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
Dougal Matthews
c3ab1cc95b Refactor the current CLI implementation to use Click
This reimplements the CLI interface to use Click, which in turn gives us
a much easier to use interface as it provides help messages for all the
commands and individual commands.

Fixes #259
2015-04-28 20:06:57 +01:00
Dougal Matthews
8ba6864282 Merge pull request #457 from d0ugal/search-new
Add search to MkDocs
2015-04-27 12:18:06 +01:00
Dougal Matthews
2b37deb188 Add further documentation about the pages config
This change explicitly calls out how to do multi-level documentation.

Closes #475
2015-04-26 09:02:13 +01:00
Dougal Matthews
835c27b5b2 Add details about implementing search in a custom theme 2015-04-25 10:03:47 +01:00
Dougal Matthews
621f38c9ff Enable permalinks in the MkDocs docs.
They were used a bit in the previous doc additions, so makes sense to
add them.
2015-04-24 20:44:18 +01:00
Dougal Matthews
eb75c8a71a Expanded the section at the start of styling your docs 2015-04-24 20:43:47 +01:00
Dougal Matthews
4991aada68 Added release notes for 0.12.2 2015-04-22 08:24:04 +01:00
Argoday
21d01f7219 Add strict parameter 2015-04-16 23:50:03 +01:00
Dougal Matthews
e7aef7a8cf Merge pull request #435 from waylan/mdx_config
Add support for Markdown extension options.
2015-04-15 08:14:35 +01:00
Dougal Matthews
81f4d696ae Added a note about the point release 2015-04-14 09:31:14 +01:00
Dougal Matthews
7ef39aa4e2 Some minor updates to the documentation
- Added a small section about where to get help
- Updated link to the contributing guide
- Improved some o the code highlighting
2015-04-14 08:30:44 +01:00
Dougal Matthews
ee4c648e9b Merge pull request #451 from d0ugal/path-handling
Improve Path handling across MkDocs
2015-04-13 23:30:52 +01:00
Dougal Matthews
690e833f0b Add to the release notes 2015-04-13 17:08:27 +01:00
Dougal Matthews
471f8889b0 Added a note about getting started on Windows.
Closes #187
2015-04-11 21:51:51 +01:00
Dougal Matthews
3896349d58 Add the release notes for 0.12 2015-04-08 21:17:07 +01:00
Dougal Matthews
191d9fe25a Standardise the layout of the release notes 2015-04-08 21:16:44 +01:00
Waylan Limberg
c8fbfa63da Add support for Markdown extension options.
I tried to keep the docs simple so non-python people would understand them
(I avoided calling the setting a 'dict,' etc.). Could probably use some
improvement.

All this extension mungling stuff should probably go in validate_config,
but that feels like an entireley differant issue than this, so I made the
changes inplace. Fixes #351
2015-04-08 12:06:37 -04:00
Dougal Matthews
0fc7ea5bc5 Update links to go directly to the organisation GitHub 2015-04-04 14:10:26 +01:00
Dougal Matthews
7ea8592fe7 The YAML samples were incorrectly being highlighted as dffs
Use fenced code blocks and specify YAML to correct this.
2015-04-03 15:34:34 +01:00
Dougal Matthews
bdbf2ce5ed Added an initial Contributing guide 2015-04-03 14:47:00 +01:00
Dougal Matthews
724ec03de9 Some minor docs updates
- Remvoed a false promise from the home page
- Linked to the mailing list
- Fixed a broken screenshot link
2015-04-02 09:37:37 +01:00
Dougal Matthews
8d54cd850e Merge pull request #332 from samhatfield/master
First stab at custom theme documentation
2015-01-20 21:37:33 +00:00
seanstory
0475381d1c Update writing-your-docs.md
typo
2015-01-20 13:11:05 -06:00
Sam Hatfield
8c67109690 First stab at custom theme documentation
See #181.
2015-01-17 21:31:07 +00:00
Dougal Matthews
ceb83d051b Document extra_javascript and extra_css config options
See #307
2015-01-02 13:57:07 +00:00
Dougal Matthews
a92833944b Remove placeholder documentation 2015-01-02 13:56:10 +00:00
Dougal Matthews
bf2c5b31e1 Document google_analytics config option
See #307
2015-01-02 13:02:40 +00:00
Dougal Matthews
f16e62d9f9 Document copyright config option
See #307
2015-01-02 13:02:34 +00:00
Dougal Matthews
93d9f63582 Document repo_name config option
See #307
2015-01-02 13:02:22 +00:00