Skip to content
Browse files

Documentation changes for new index link format.

  • Loading branch information...
1 parent 6064e1d commit c332b9428cf6b9ad3f15ea76a9a85f3181f01238 @jgm committed
Showing with 13 additions and 0 deletions.
  1. +4 −0 README.markdown
  2. +2 −0 data/markup.HTML
  3. +3 −0 data/markup.LaTeX
  4. +2 −0 data/markup.Markdown
  5. +2 −0 data/markup.RST
View
4 README.markdown
@@ -134,6 +134,10 @@ pages, `[Front Page]()` creates an internal wikilink to the page `Front
Page`. In reStructuredText pages, `` `Front Page <>`_ `` has the same
effect.
+If you want to link to a directory listing for a subdirectory, use a
+trailing slash: `[foo/bar/]()` creates a link to the directory for
+`foo/bar`.
+
Configuring gitit
=================
View
2 data/markup.HTML
@@ -28,3 +28,5 @@ the `Wine` directory will link to `Wine/Burgundy`, and not to
`Burgundy`. To link to a top-level page called `Burgundy`, you'd
have to use `<a href="/Burgundy">Burgundy</a>`.
+To link to a directory listing for a subdirectory, use a trailing
+slash: `<a href="">Wine/</a>` will link to a listing of the `Wine` subdirectory.
View
3 data/markup.LaTeX
@@ -58,3 +58,6 @@ directory will link to `Wine/Burgundy`, and not to `Burgundy`. To
link to a top-level page called `Burgundy`, you'd have to use
`\href{/Burgundy}{Burgundy}`.
+To link to a directory listing for a subdirectory, use a trailing
+slash: `\href{}{Wine/}` will link to a listing of the `Wine` subdirectory.
+
View
2 data/markup.Markdown
@@ -194,3 +194,5 @@ directory will link to `Wine/Burgundy`, and not to `Burgundy`.
To link to a top-level page called `Burgundy`, you'd have to use
`[Burgundy](/Burgundy)`.
+To link to a directory listing for a subdirectory, use a trailing
+slash: `[Wine/]()` will link to a listing of the `Wine` subdirectory.
View
2 data/markup.RST
@@ -38,3 +38,5 @@ directory will link to `Wine/Burgundy`, and not to `Burgundy`. To
link to a top-level page called `Burgundy`, you'd have to use
`` `Burgundy </Burgundy>`_ ``.
+To link to a directory listing for a subdirectory, use a trailing
+slash: `` `Wine/ <>`_ `` will link to a listing of the `Wine` subdirectory.

0 comments on commit c332b94

Please sign in to comment.
Something went wrong with that request. Please try again.