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

doc builder 0.5.0 #179

Open
rrg92 opened this issue Mar 30, 2024 · 0 comments
Open

doc builder 0.5.0 #179

rrg92 opened this issue Mar 30, 2024 · 0 comments

Comments

@rrg92
Copy link

rrg92 commented Mar 30, 2024

This week, I embarked on creating a translation for the audio course project into Brazilian Portuguese. Following the instructions outlined in the project's README, I installed the latest version of doc-builder. However, during my initial usage of the doc-builder preview command, I encountered a couple of significant issues.

Firstly, only the Table of Contents (TOC) was rendered correctly, and any attempt to click on the links within the TOC resulted in a 404 error. This was quite puzzling and hindered the progress of my work. Additionally, I noticed that the preview was running on port 5173, which deviated from the port 3000 specified in the README documentation.

To troubleshoot this issue, I took the step of cloning the doc-builder project and switching to version 0.4.0 before installing it. Remarkably, after this adjustment, the doc-builder preview functioned as expected. The links in the TOC now correctly loaded the corresponding chapters.

This experience led me to surmise that the audio course project might not yet be fully compatible with the recently released version 0.5 of doc-builder. I am curious if others have encountered similar issues and can confirm my observations. If this incompatibility is indeed the case, it might be prudent to update the README.md of the audio course project to reflect the current situation until there is support for doc-builder version 0.5.

It's important to note that merely installing doc-builder version 0.4.0 via pip (using pip install doc-builder==0.4.0) did not resolve the issue due to an additional problem with doc-builder itself. I have already submitted a pull request to address this specific problem, which can be reviewed here: huggingface/doc-builder#489. This PR aims to rectify the underlying issue and ensure smoother operation for those using version 0.4.0 of doc-builder in their projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant