Commit Graph

66 Commits

Author SHA1 Message Date
Terrell Russell
bbe7ec8b23 remove more lorem ipsum
additional cruft...
2015-06-05 20:25:01 -04: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
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
Terrell Russell
c055f6def4 typos 2015-05-26 20:31:26 -04: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
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
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
eb75c8a71a Expanded the section at the start of styling your docs 2015-04-24 20:43:47 +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
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
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
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
1be54f9d87 Strip extra whitespace 2014-11-16 19:37:18 +00: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
Adrian Sampson
c60b3b6dcf Add docs for markdown_extensions 2014-08-08 14:57:19 -07:00
Alexander Pánek
4a263298e2 Add actual documentation
* site_url
* site_author
* site_description
* site_favicon
2014-05-21 15:17:06 +02:00
Adrien PETREMANN
795346898e Fix typo 2014-04-17 23:02:46 +02:00
Tom Christie
510fdef51f Hide unfinished docs. 2014-03-30 10:54:17 +01:00
Tom Christie
64901f7e3d Minor copy changes. 2014-03-30 10:53:51 +01:00
Tom Christie
9231c8f20c More documentation on build directories 2014-03-02 16:17:32 +00:00
Tom Christie
7c353b62de Merge pull request #34 from alcesleo/theme_documentation
Simple docs on theme and theme_dir
2014-03-02 16:01:48 +00:00
Tom Christie
7228519e59 Docs on dev_addr and use_directory_urls 2014-03-02 15:43:36 +00:00
Jimmy Börjesson
cee117e33f Update configuration.md 2014-02-25 08:53:59 +01:00
alcesleo
d3bbc7ebbf Documented repo_url 2014-02-22 16:43:25 +01:00