Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you use subdirectories in a GitHub wiki checkout? [closed]

I'd like to organize my GitHub wiki pages in subdirectories. How do we refer to the pages in subdirectories?

like image 309
Alexy Avatar asked Jan 18 '13 22:01

Alexy


People also ask

Is GitHub wiki version controlled?

It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, continuous integration, and wikis for every project. Headquartered in California, it has been a subsidiary of Microsoft since 2018.

How do I clone a wiki from GitHub?

How do I clone a GitHub wiki? Any GitHub wiki can be cloned by appending wiki. git to the repo url, so the clone url for the repo https://myorg/myrepo/ is: [email protected]:myorg/myrepo. wiki.

How do I enable Wikipedia on GitHub?

Adding wiki pages On GitHub.com, navigate to the main page of the repository. Under your repository name, click Wiki. In the upper-right corner of the page, click New Page. Optionally, to write in a format other than Markdown, use the Edit mode drop-down menu, and click a different format.

How do I add an image to a wiki on GitHub?

Using the wiki sidebar, navigate to the page you want to change, and then click Edit. On the wiki toolbar, click Image. In the "Insert Image" dialog box, type the image URL and the alt text (which is used by search engines and screen readers). Click OK.


1 Answers

github wiki / gollum-wiki doesn't inherently provide anything explicit for organizing pages into sub-directories. Any page can be linked from any other page irrespective of where it logically belongs. This is a powerful feature that makes wikis very flexible.

One way to implement a sub-directories structure would be to follow a naming convention.

Example: Having all pages related to subject1 have names that start with subject1, and so on.

like image 156
Prakash Murthy Avatar answered Nov 25 '22 10:11

Prakash Murthy