Skip to content

domum-social/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Site

This repository contains the source code for the Domum Social documentation website, built with Hugo and the Relearn theme.

Development Workflow

Download and install Hugo 0.141.0 or newer for your operating system following the instructions.

Run hugo server in the top level of the working tree.

Open http://localhost:1313 (or the URL shown after running hugo server) in your browser.

Edit, changes you make will be updated in real time in the browser preview

custom short code

We define a custom short code to link back to the base URL of the active site. Hugo cares a lot about its base URL and in production we use <domain>/learn as the base and it is hard to link to anything above that root.

{{< domainroot text="link test" >}} will generate a link back to the root without the /learn path.

{{< domainroot text="link test" path="/about">}} will link to <domain>/about

This includes the appropriate url scheme https for the clearnet site and http for the onion site.

further reading

Refer to the Relearn theme documentation particularly Authoring and Shortcodes to learn about available syntax.

Configuration

The site uses environment-specific configuration:

  • Base configuration: config/_default/hugo.toml
    • Includes common options
    • Uses localhost as the base URL for local development
  • Clearnet: config/clearnet/hugo.toml
    • Public web overrides
  • Onion: config/onion/hugo.toml
    • Tor hidden service overrides

License

This documentation is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.

Contributing

We welcome contributions to improve our documentation via pull request or bug reports.


Domum Social © 2025 Domum Social LLC

About

Domum Social Documentation Site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published