Commit Graph

96 Commits

Author SHA1 Message Date
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
Dougal Matthews
249cdfae3a Change header levels
See #307
2015-01-02 13:02:03 +00:00
Dougal Matthews
5cb1ee1ec3 Remove references to non-existant theme ghostwriter 2014-12-17 19:36:32 +00:00
Dougal Matthews
70caa56e69 Roll 0.11.1 to fix CSS issues in RTD 2014-11-20 09:45:37 +00:00
Dougal Matthews
de7b713352 Fixed a typo. 2014-11-18 15:22:36 +00:00
Dougal Matthews
7c9b105af9 Prepare for 0.11.0
Closes #185
2014-11-18 15:00:48 +00:00
Dougal Matthews
50798e9159 Merge pull request #225 from d0ugal/graphics-for-readthedocs
Theme Fixes for MkDocs and ReadTheDocs themes
2014-11-17 22:26:14 +00:00
Dougal Matthews
1be54f9d87 Strip extra whitespace 2014-11-16 19:37:18 +00:00
Dougal Matthews
72db8d01f2 Include the highlight.js theme licence in the docs 2014-11-16 12:44:44 +00:00
Martijn
12227d8f97 Make it easier to recognize as BSD license
People could mistake it as a custom license instead of a generic BSD license, so I thought a tiny clarification might save readers time, effort and mostly pain.
2014-11-03 21:53:25 +01:00
Dougal Matthews
6477227d7c Change .yaml to .yml to remain consistent.
/ht @AndyA13
2014-10-29 09:19:20 +00:00
Dougal Matthews
cd8bfc5d51 Fixed a formatting error in the release notes 2014-10-29 09:06:19 +00:00
Dougal Matthews
131928f663 Add notes to the release docs for #171, #168 and #104 2014-10-22 20:20:36 +01:00
Dougal Matthews
b6c4ead170 Merge pull request #154 from devbliss/feature/clear-site-directory-option
Clear site directory before build
2014-10-21 09:52:55 +01:00
Michael Diodone
40d8a505c6 Fixed small typos in release notes 2014-10-21 10:32:24 +02:00
Michael Diodone
b1ade76ccd Added documentation about new --clean switch 2014-10-21 10:32:01 +02:00
Dougal Matthews
0f5b6e14fa Update index.md
Closes #161
2014-10-14 16:11:29 +01:00
Dougal Matthews
eb3a153820 Add a note about supported Python versions 2014-10-13 21:29:55 +01:00
Dougal Matthews
5d4b918c49 Remove Lorem ipsum 2014-10-13 21:23:01 +01:00
Dougal Matthews
d45288b56d Updated docs for multiple theme directories
Originally changed in 8f3c2b0.
2014-10-13 21:16:47 +01:00
Dougal Matthews
e08eb91d28 Django Rest -> MkDocs
Oops.
2014-10-13 20:45:54 +01:00