Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Issue with relative links in subfolders #174

Open
@twodayslate

Description

@twodayslate

I installed swift-doc using brew. The --version says beta.3 even tho I think it is actually beta.4 (HEAD is now at 581af2f Bump version to 1.0.0-beta.4). It seems like the tag version didn't get the updated version.

I was trying to use swift-doc with this project

I was using the following command in the root directory:

swift-doc generate ./Sources --module-name BigNumber --output docs/ --format html

Unfortunately since all the urls were / navigation did not work locally. I tried the following:

swift-doc generate ./Sources --module-name BigNumber --output docs/ --format html --base-url ./

That worked for index.html but not for anything in any subfolder since the base-url would have to be ../ instead of just ./

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions