Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify setup for tenant specific docs #656

Merged
merged 1 commit into from
Jun 28, 2024
Merged

simplify setup for tenant specific docs #656

merged 1 commit into from
Jun 28, 2024

Conversation

tronghn
Copy link
Contributor

@tronghn tronghn commented Jun 28, 2024

This merges in the tenants directory into the regular docs directory, which means that files and directories specific to a tenant now lives together with the rest of the common content.

To mark a page as specific for a given tenant, add the conditional tag to the markdown front matter:

---
conditional: [tenant, <tenant name>]
---

To build locally for a specific tenant, use the tenant argument when invoking make local:

make local tenant=<tenant name>

Caveats:

Copy link
Contributor

@mortenlj mortenlj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 🇮🇹

@tronghn tronghn merged commit 1736004 into main Jun 28, 2024
3 checks passed
@tronghn tronghn deleted the filter-tenant-docs branch June 28, 2024 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants