-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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
- using relative links to other files inside the wiki
-
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...
- file-in-subdir --links-to--> subdir/file-in-subdir
- links with a subdir relative part fail
- subdir/file-in-subdir
-
subdir/new-file-in-subdir
i.e. it almost looks like the GitHub wiki walks the whole tree, as if with
find
Q: what happens when the same filename is in both parent and child directories? Does one win?
-
A: it seems
- the wiki walks the tree
- 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
- sidebar
-
same-filename-in-parent-and-child-dir.md
Q: can I use subdir/ in other link formats, not link?