Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable relative paths #1427

Open
banasa44 opened this issue Apr 22, 2024 · 1 comment
Open

Enable relative paths #1427

banasa44 opened this issue Apr 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@banasa44
Copy link

banasa44 commented Apr 22, 2024

Is your feature request related to a problem? Please describe.

While I was creating Docusaurus versions I noticed that my graph autogenerated documentation was using absolute paths and therefore my graph documentation wasn't being versioned. I've checked your demo example repo and it also doesn't use relative paths, but absolute ones. So I thought this was not my configuration problem but the actual behavior?

Describe the solution you'd like
As described in Docusaurus documentation relative links are much better than absolute. It would be nice if the links between objects, enums etc. could be relative.

Additional context
In my documentation site, I have in the /docs folder, 3 subfolders one of them being the subgraph one. Inside /subgraph folder I have some more folders, and I placed the autogenerated documentation in the /reference-guide subfolder.

/docs
|-- /subgraph
|   |-- /folder1
|   |-- /reference-guide
|-- /folder1
|-- /folder2

My configuration:

        rootPath: './docs',
        baseURL: 'subgraph/reference-guide',
        homepage: './static/subgraph/index.md',
        linkRoot: '/docs',
@banasa44 banasa44 added the enhancement New feature or request label Apr 22, 2024
@edno
Copy link
Member

edno commented Apr 27, 2024

Hi @banasa44
I will not have time in coming month to look at this request. However, if you submit a PR, then I should be able to help getting it merged and released.

@edno edno removed their assignment Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants