Skip to content

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Divine.DocFx

The DocFX source project for docs.divine.wtf.

Set DIVINE_SYSTEM_ROOT and DIVINE_DOCS_ROOT to the corresponding local repositories, then run:

dotnet run --project src/Divine.DocFx/Divine.DocFx.csproj -c Release

The generated site is written to _site in the Divine.Docs repository root. Production builds are orchestrated by the private Divine.System repository and publish the contents of _site to the docs directory on the main branch.

Each run also generates raw Markdown for LLMs alongside the HTML:

  • _site/markdown/api/: API reference for the same assemblies and projects as the HTML documentation.
  • _site/markdown/: Markdown guides and their images.
  • _site/llms.txt: an index linking to all Markdown pages.

Both formats are included when publishing _site. The existing launch profile generates both automatically. DocFX's outputFormat setting belongs on each metadata job; separate mref and markdown jobs produce the two formats.

To preview the generated documentation locally, serve the _site directory over HTTP:

dotnet serve --directory _site --port 8080

Then open http://localhost:8080/api/.

GitHub configuration

GitHub Pages must publish from the /docs directory on the main branch. The custom domain remains docs.divine.wtf through the CNAME file copied into the published directory.

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages