VerzatileDevOrg / Programming_HandBook

The Programmer's Handbook is an open source initiative to collect, archive, and localize all programming knowledge in one collective space.
https://verzatiledevorg.github.io/Programming_HandBook/
MIT License
7 stars 5 forks source link

[Feature] - Remove Folder from the HyperLink #108

Closed VerzatileDev closed 1 month ago

VerzatileDev commented 2 months ago

Description:

The idea would be to remove the folder itself from the HyperLink so that the .md file would become as the folder itself.

Making Doc/OOP/OOP to be instead Doc/OOP

image

As within the reference it has OOP (Folder) that has OOP (File) Remove the folder and keep the file potentially.

Proposed Solution:

Find a way to remove it to reduce the amount of Sections listed within the hyperlink.

Alternatives:

Additional Context

VerzatileDev commented 2 months ago

Possible solution

Is to use index.html as the first directory for the folder itself and sub directories wouuld be oop/sub..

This would remove the extra file and keep it as a folder instead referencing itself instead. though have not tested it with the Jekyll site.

VerzatileDev commented 1 month ago

Proposed Solution, seems to work with index.md which gets changed to index.html upon web build.

Not tested on live server!

VerzatileDev commented 1 month ago

image

image

VerzatileDev commented 1 month ago

Shown here https://verzatiledev.github.io/Programming_HandBook/docs/Engine/ ,

Has to be added to each file with the same name as the folder :) This will take a long time