Skip to content

dtdoc hugo build: no hugo-darktable-docs-theme/assets/install file #685

@wbclay

Description

@wbclay

Trying to create a dtdocs repository to prepare a pull request to supplement the rather spare existing documentation of the "custom sort" feature as described in my issue 672. Unfortunately, I have used git very little and am totally unfamiliar with hugo and yarn.

After cloning dtdocs repository and doing git submodule update --init --recursive, I find that there is no "install" file in .../docs-theme/assets or the .../docs-pdf-theme/assets. This of course kills the "yarn install" command as instructed in dtdocs README.md.

Trying to run hugo anyway, it goes nuts with lots of "execute of template failed: template: partials/css.html:4:16: executing "partials/css.html" at : can't evaluate field Sass in type interface {}."

I find the .../dtdocs/public directory still has usable HTML, but I presume that was already there in the cloned repository and hugo won't be able to update the HTML with my markdown editorial changes until I complete the prescribed yarn processing.

Where can I find the missing "install" file for yarn?

Also, I've read the wpferguson issue 101 thread, which mentions "extended" hugo. Is that also relevant to what I'm trying to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions