Skip to content

Docsy theme with latest submodule -- puts right-hand ToC in the wrong location #626

@mjang-cobalt

Description

@mjang-cobalt

With the latest submodule, the right-hand TOC appears in the wrong place:

Screen Shot 2021-07-08 at 10 28 52 AM

With an earlier version of the Docsy submodule, it all "works fine"

Screen Shot 2021-07-08 at 10 26 12 AM

The difference:

The relevant PR is #554

Unknown. When I run git submodule update -f --init, it checks a later (but not the latest) commit,

43a70b21d

Workaround

Include a git checkout f82dd5e in the netlify.toml file:

[build]
publish = "public"
command = "cd themes/docsy && git submodule update -f --init && git checkout f82dd5e && cd ../..   && hugo"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions