Hi I am building a website to upload some of my work. The website is made up of project documentation. I split up the documentation for a project in pages which are sections and the corresponding subsections.
Here is the overall structure of the the source. I used _ instead o blank space to give the gist of the organization because space are erased.
_______└── 01_1_paragraph1.md (These are in the same directory but logically they are part of the section introduction)
Each page is made up of a section file (01_introduction.md) and the corresponding subsection files( 01_1_paragraph.ms…).
To do that the layout file documentation.html shows first of all the content of a section, and go through all the subsection printing just the one that “belong” to the above section. I preserved the order I wanted thanks to how I called the single files.
Nevertheless since there is this implicit structure, I also wanted to enumerate such paragraphs automatically, in a Latex fashion(without adding more properties to the relative page).
For example for the page relative to section “Introduction” I would like to have something like this:
1 . 1 Subsection 1
1 . 2 Sebsection 2
And for the page relative to “Implementation”
2 . 1 Subsection 1
2 . 2 Subsection 2
Since I am a newbie in Jekyll I don’t know if it is possible and which tools should I use.
I hope anyone could give me a hint, and thank you in advance.