Skip to content

Relationship between hosting-base-path and actual URLs is not very clear #698

Open
@dabrahams

Description

@dabrahams

Description

I'm having the most confounding time configuring docc, or understanding where to find the pages it generates. I've struggled with this in the past too, and got past it but somehow failed to internalize the answers. Maybe someone can help me (and hopefully, address this usability problem I seem to keep bumping into).
Here's a doc generation run. I expect to find the pages for the Core target at https://www.hylo-lang.org/hyloc/docc/Core/, similar to the pages generated by jazzy (this way) which are easy to find at https://www.hylo-lang.org/hyloc/jazzy/Core/. As you can see from the former URL, we get docc's custom 404 page but nothing interesting.
I recall somewhere docc was injecting /documentation/ into the paths somewhere, but I don't think I understand the rules.
In fact when I run the same commands locally, I get a site that refers to a theme-settings.json that doesn't seem to be anywhere in the directory tree.
Ugh, after digging around in my local filesystem, I find the results at https://www.hylo-lang.org/hyloc/docc/Core/documentation/core/. If I capitalize the 2nd "core" or lowercase the first one, it doesn't work. Maybe I'll just file this usability issue.

Checklist

  • If possible, I've reproduced the issue using the main branch of this package.
  • This issue hasn't been addressed in an existing GitHub issue.

Expected Behavior

No response

Actual behavior

No response

Steps To Reproduce

No response

Swift-DocC Version Information

No response

Swift Compiler Version Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions