Tip
The docs as explained here are used in multiple projects, but documented only once for better maintenance. When applying this to other projects, remember that some things such as the name, repository, or paths are a bit different.
Structure of the Docs Projects
All the projects using this convention have the following folders / structure:
api-docs/
- manually created docs for C# namespacesapi-generated/
- autogenerated docs from the C# code XmlDocsassets/
- global / reused assets such as the favicon and main logoslogos/
v##/
- logos for specific versionsvcurrrent/
- logos for the current version, used in layout etc.
favicon.ico
- favicon for the site
pages/
- where all the content is createdapi/
- the index page for the API documentationsome-topic/
- a topic with sub-pagesassets/
- assets used in this topicsome-sub-topic
- a sub-topicassets/
- assets used in this sub-topic
more-topics/...
... (lots of topics here)
shared/
- shared content like authors, images, etc.authors/
- author information for attribution.../
- shared/reusable snippets for!include
statements
templates/
[project-name]
- custom html / js / css for this project
Tip
This structure is quite flexible and can be adapted to our needs. This setup has proven solid and should not be changed without consulting with @iJungleboy.