Test case:
a.org
* This is a big section
I have some content here
** And a second level section
And more content here
*** And a third level section
And more content here
b.org
** I have another second level section
These files in my real world case are supposed to be split by date
*** You can see that
[[In the repository][https://gitlab.com/srnb/notes]]
*** The actual real world case can be seen
[[In the two APUSH sections][https://gitlab.com/srnb/notes/tree/master/AP%20US%20History]]
main.org
#+INCLUDE: a.org
#+INCLUDE: b.org
Resulting output when exported to HTML is that I have another second level section
is a top level section.
Real world case: GitLab/srnb/notes@master/AP US History
Real world output: m.s5.pm/notes/AP US History
The second file, 2019-08-20-NeoEuropean-Colonies.org
, is the one with the second level header.
The script that generates the big Org files with all the includes is .deploy.sh
in the repository's root; it can be run locally.