Commit Graph

40 Commits

Author SHA1 Message Date
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
c868e74ce1 Update index.md 2016-02-19 21:14:02 +00:00
Dougal Matthews
f7525626b8 Remove training whitespace 2016-02-19 21:10:02 +00:00
Brian J King
394f1d3ff2 Updating index.md to fix markdown lint error for line length
https://travis-ci.org/mkdocs/mkdocs/jobs/110445743#L196
2016-02-19 14:35:18 -06:00
Brian J King
9c150c579c Proposed changes to index.md related to mkdocs #818 & #824
Proposed changes to index.md related to mkdocs #818 & #824
2016-02-19 12:13:12 -06:00
Dougal Matthews
8c020f83b9 Update the example version 2016-02-08 09:16:26 +00:00
daurnimator
e91104f8a6 docs/index.md: doc_dir default is "docs" not "doc" 2016-01-08 13:31:11 +11:00
Waylan Limberg
0aa6e56536 Document the --help flag.
As of 40dc17e17e, any mention of the `--help` flag had been removed from
the documentation. A breif summary has been added here. However, the output
of `--help` has not been included as that can change in the future and
updating the docs every time a option is updated become unnesecarily
duplicative (as the command line is self-documenting). This fixes #767.
2015-11-30 17:31:40 -05:00
Waylan Limberg
c84cb0ce03 More docs cleanup for Markdown linter 2015-08-13 10:18:35 -04: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
44fc6d9230 Added docuementation for packaging themes 2015-06-27 11:03:30 +01:00
RussellTaylor83
40dc17e17e Update index.md
Updated documentation, mkdocs help is no longer valid, suggested mkdocs --version instead.
2015-06-23 21:43:10 +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
Waylan Limberg
f7be6c7282 Add "Deploying your Docs" page to the User Guide.
Fixed #477
2015-05-28 10:11:47 -04: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
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
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
471f8889b0 Added a note about getting started on Windows.
Closes #187
2015-04-11 21:51:51 +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
5cb1ee1ec3 Remove references to non-existant theme ghostwriter 2014-12-17 19:36:32 +00:00
Dougal Matthews
6477227d7c Change .yaml to .yml to remain consistent.
/ht @AndyA13
2014-10-29 09:19:20 +00: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
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
157fc7a232 Added missing command from the help output 2014-10-08 12:18:59 +01:00
Dougal Matthews
6d3c5eccda Added links to Python and pip. 2014-10-06 18:09:00 +01:00
Tom Christie
7167406bc9 Ye gads 2014-07-20 19:03:50 +01:00
Tom Christie
af78163b73 Minor improvements in 'getting started' docs 2014-02-08 20:42:53 +00:00
Tom Christie
982e29877e ConfigTest cleaned up slightly 2014-02-07 09:13:47 +00:00
Tom Christie
eb91f86527 Improve homepage docs 2014-02-05 14:04:46 +00:00
Tom Christie
eea4449398 Add 'in development' note. Refs #29 2014-02-05 11:12:13 +00:00
Tom Christie
0303e87a1d MkDocs theme becomes built-in 2014-02-05 09:30:50 +00:00
Tom Christie
d06adc7155 mkdocs.yaml -> mkdocs.yml 2014-02-03 17:04:58 +00:00
Tom Christie
42bd5affac Refactoring + getting context/config properly sorted 2014-02-01 22:22:43 +00:00
Tom Christie
385a8cf2c1 Tweaks 2014-01-29 20:14:44 +00:00
Tom Christie
4d45ab257a Site docs 2014-01-21 16:46:05 +00:00
Tom Christie
bcbe68d019 Drop some example badges 2014-01-14 18:46:57 +00:00
Tom Christie
ba0ba16dab Hell, yeah 2014-01-10 23:00:46 +00:00