Questions tagged [docsy]
Docsy is a theme for the Hugo static site generator that’s specifically designed for technical documentation sets. Refer to https://www.docsy.dev/ or https://github.com/google/docsy/ before asking questions with this tag.
14
questions
0
votes
1
answer
74
views
Docsy shortcode for tabs only working with html content and not markdown
According to Docsy documentation here
If your content is markdown, use the percent sign % as outermost delimiter of your tab shortcode, your markup should look like {{% tab %}}Your markdown content{{%...
0
votes
1
answer
130
views
Shortcode contents are not rendered on the page during Hugo Static website
I am quite new to Hugo and trying to understand it through documentation and other things. I am creating a simple shortcode which I would like to include within my page but for some reason the ...
1
vote
0
answers
19
views
Why Docsy hides the title at the beginning of the page in marked down?
I wanted to add some information regarding the Privacy statement to the static website that I am developing using the Hugo with Docsy theme. I have added a folder content\en\privacy\_index.md and ...
0
votes
1
answer
18
views
Hugo/Docsy: Cookie info banner is not displaying as intended due to CSS/SCSS mismatch/override
I am developing a simple website using the Hugo static website generator and the Docsy theme. The website includes a simple information Cookie Banner so I have added the same to my static website by ...
0
votes
0
answers
23
views
Cookie banner is not displaying as intended when using Hugo with Docsy theme
I am developing a sample website using Hugo static website generator by using the Docsy theme.
The website includes the Cookie Banner so I have added the same to my static website by referencing the ...
0
votes
1
answer
19
views
Hugo/Docsy: execute of template failed at <.url>: can’t evaluate field url in type bool
I am developing a static web application using Hugo with Docsy theme. I would like to add an condition within Docsy Partials code where I would like to append the mailTo: word to my .url if the .mail ...
0
votes
0
answers
14
views
Hugo method to get grandchildren?
Example structure:
Parent
|. |-- Child 1
|. |-- grandchild 1
|. |-- grandchild 2
|. |-- Child 2
|. |-- grandchild 3
|. |-- grandchild 4
Is there a way to reference the ...
1
vote
1
answer
374
views
Hugo site, deployed to public/ directory in html, gives weird results
I have a Hugo site with lots of folders and subfolders, containing both _index.md files and many others. It uses the docsy theme.
Running hugo server displays the site correctly in the browser at ...
2
votes
0
answers
244
views
Go commands won't use http: proxy
Using the docsy example site locally with a corporate proxy that uses http:, and attempting to run hugo server returns:
hugo: downloading modules …
go: github.com/FortAwesome/Font-Awesome@v0.0.0-...
1
vote
1
answer
463
views
Hugo Docsy SwaggerUI shortcode doesn't render the specs file
I'm trying to render an OAS file using Hugo Docsy SwaggerUI Shortcode but the rendered page doesn't contain the expected result.
Here is my rest-api.md file:
---
title: "REST API"
linkTitle: ...
2
votes
0
answers
465
views
CircleCI fails at the fs-extra node_modules
I have been working on a project and recently, in Circle CI pipelines, I started to get this error.
/root/project/node_modules/fs-extra/lib/mkdirs/make-dir.js:85
} catch {
^
SyntaxError: ...
3
votes
2
answers
536
views
hugo URLs with protocol (http) not supported
I am using hugo (https://gohugo.io/) and trying to make an external link in the menu (docsy theme).
I changed the _index.md to:
---
title: "Documentation"
linkTitle: "Documentation"...
23
votes
2
answers
20k
views
Unexpected token { ../node_modules/fs-extra/lib/mkdirs/make-dir.js:85 } catch {
I am facing this issue while building my application-
2020-07-12 16:48:39 ....:
^
SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (...
0
votes
1
answer
448
views
Hugo Docsy image path referencing with multiple languages
I am the static site generator Hugo with the theme Docsy, but I am having difficulty providing the correct path so Hugo can find my images?
I read Hugo's content organization will search for an ...