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

Rework of HTML publisher. #622

Merged
merged 67 commits into from
Jan 26, 2024
Merged

Conversation

neerdoc
Copy link
Collaborator

@neerdoc neerdoc commented Jan 21, 2024

Updated both the HTML-publisher and the doorstop-server to user a new layout with a top menu instead of the sidebar, which fixes #327. By upgrading to newer version of bootstrap, the dependency of jquery was removed.

The change also includes the possibility for the users to create really custom HTML exports as the .tpl files are now included in the publishing process so that a user can included custom Bottle-template files as well.

Installed a local copy of MathJax so that offline installations work properly.

I also included support for the document attributes that was included for LaTeX publishing, so that the HTML publish also has this information, which fixes #26.

A few bugs that were not yet reported were also fixed, mainly a problem with the #615 PR which had introduced an error when publishing a single document that I did not catch earlier.

Further testing also resulted in reworking the Markdown publishing since links between items where broken, which fixes #378. Since publishing now is separated it was easy to fix without affecting the other formats. This also lead to fixing #469 since the extra space caused havoc to the links.

This PR might also fix #515. After it's been published it would be nice with some feedback on if this is good enough for that issue.

Some dependencies have also been updated and a lot of new test cases to get better coverage on the changed parts of the code.

Also added a couple of new dev-dependencies so that the API server calls can be tested and it is now possible to run make test-cover to get immediate feedback on if the changed code is covered by tests of not (instead of waiting for the CI-job to run).

@neerdoc neerdoc marked this pull request as ready for review January 25, 2024 15:30
@neerdoc neerdoc merged commit 4326c38 into doorstop-dev:develop Jan 26, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants