16 questions
0
votes
1
answer
281
views
ERROR POSTCSS: failed to transform "/scss/main.css" (text/css): Error: Loading PostCSS Plugin failed: Cannot find module 'autoprefixer'
I'm new to Docsy (and Hugo). Trying to build the example site for the very first time. I'm getting this error:
hugo v0.134.2-1c74abd26070b0c12849550c974a9f3f1e7afb06+extended linux/amd64 BuildDate=...
0
votes
1
answer
127
views
Docsy edit link are generate with local absolute path
I have install hugo v0.128.2 and Docsy example as a template (last version) on windows 11.
In doc section the edit link is refered the github repo + the local absolute path instead of related path in ...
1
vote
1
answer
237
views
Lunr.js with offline search is not working
I am trying to enable Lunr.js offline search in my hugo site with docsy theme.
I have enabled the following in my config.toml file
# Enable Lunr.js offline search
offlineSearch = true
...
0
votes
1
answer
606
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
878
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
113
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
149
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
68
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
809
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 ...
1
vote
1
answer
1k
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
508
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/[email protected]...
2
votes
1
answer
939
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
537
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: ...
4
votes
2
answers
1k
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"...
24
votes
2
answers
21k
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 (...
