Skip to content
AndyGlew edited this page May 7, 2020 · 22 revisions

Welcome to the Test-GitHub-stuff wiki!

Repo to try out tests on GitHub stuff (and avoid corrupting working repos)

Like:

  • Creating subdirectories in the wiki instead of the repo

    • using relative links to other files inside the wiki
      • basically, trying to make AsciiDoc more like a wiki and less like a document processing language
      • AsciiDoc linking is easier to internal labels and harder to external
  • placing makefiles to generatte HTML, e.g. include expansion

and so on

Q: can I use subdirectories in a GitHub wiki?

A: it looks like I can, but...

Q: what happens when the same filename is in both parent and child directories? Does one win?

  • A: it seems

    1. the wiki walks the tree
    2. but then munges the filename, eliminating the subdir path
    • resulting in two links in the sidebar
      • sidebar
        • Pages 4
        • Home
        • file in subdir
        • same filename in parent and child dir
        • same filename in parent and child dir
        • but they both map to the same file, that in the parent
      • i.e. the subdir file is lost, inaccessible, if same filename occurs in parent
  • same-filename-in-parent-and-child-dir.md

  • same-filename-in-parent-and-child-dir

Q: can I use subdir/ in other link formats, not link?

Clone this wiki locally