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

New Documentation is slow to build #9495

Open
par456 opened this issue Dec 3, 2024 · 3 comments
Open

New Documentation is slow to build #9495

par456 opened this issue Dec 3, 2024 · 3 comments
Assignees
Labels
Improvement An enhancement to an existing functionality or system Refactor

Comments

@par456
Copy link
Collaborator

par456 commented Dec 3, 2024

Where is the code located?

In order to build the documentation for the new site, it has to load up the validation files for each crop. However to do this currently requires that all the scripts in the file are compiled which takes quite a long time.

What needs to be changed?

Add in a way to load a file without needing to compile all the scripts.

Why does the code need changing?

Also look into the documentation tagging and converting system to see if any parts of those are particularly slow. If so, we might try to improve the performance on that.

@par456 par456 added Refactor Improvement An enhancement to an existing functionality or system labels Dec 3, 2024
@par456 par456 self-assigned this Dec 3, 2024
@BrianCollinss
Copy link
Member

Is this related?

Screenshot_20241204_130815_Chrome.png

@par456
Copy link
Collaborator Author

par456 commented Dec 4, 2024

Yep is it

Docs will hopefully be coming back up within the next few hours, we've just finished updating the server for it, so connections might still be down.

@par456
Copy link
Collaborator Author

par456 commented Dec 6, 2024

Speed is acceptable at the moment, however we should move to a cronjob where it makes these files once a day if a new build has been released. That way everything will be generated instead of having to do it dynamically every time.

@par456 par456 assigned ric394 and unassigned par456 Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement An enhancement to an existing functionality or system Refactor
Projects
Status: Backlog
Development

No branches or pull requests

3 participants