docsy
docsy copied to clipboard
A set of Hugo doc templates for launching open source content.
Following through from: - #1961 I have some new insights based on work I've done for the OTel website. Will upstream changes from there when I have a moment. References:...
The click-to-copy feature was introduced officially in Docsy 0.7, experimentally earlier than than. Let's add at least a brief mention of it in the docs. /cc @geriom
```diff diff --git a/assets/scss/rtl/_main.scss b/assets/scss/rtl/_main.scss index 6ea131e..960d5c9 100644 --- a/assets/scss/rtl/_main.scss +++ b/assets/scss/rtl/_main.scss @@ -30,7 +30,9 @@ body:lang(ur) { } body:lang(fa) { - @import url("https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/dist/font-face.css"); + @if $td-enable-google-fonts { + @import...
### Environment - [x] Version of Docsy you are using: v0.13.0 - [x] How are you using Docsy? As a: - [x] Hugo module - [ ] NPM module -...
Let's say you have a website that was made with a dark background assumed. For the docs section, you (as site owner) want to allow toggling between light / dark...
## Summary This PR hardens `scripts/make-site.sh` by removing unsafe shell `eval` usage and validating user-controlled inputs (notably `-v` / `DOCSY_VERS`) to prevent OS command injection during Hugo module operations. ##...
### Environment - [x] Version of Docsy you are using: `v0.13` - [x] How are you using Docsy? As a: - [x] Hugo module - [ ] NPM module -...
"Table of contents" related
This pull request adds the **Feedback** and **Table of Contents** sections in the Bangla (bn) translation of the documentation. Previously, these sections were **not translated** . This PR contributes to...
References: - https://gohugo.io/render-hooks/blockquotes/#alerts - https://docs.github.com/en/contributing/style-guide-and-content-model/style-guide#alerts - https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/ Consider driving them from the same map as BS uses to generate its alerts. This way, if a project extends that map, we...