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

One fsiEvaluator per docs file #807

Merged
merged 2 commits into from
Mar 9, 2023
Merged

One fsiEvaluator per docs file #807

merged 2 commits into from
Mar 9, 2023

Conversation

nhirschey
Copy link
Collaborator

@nhirschey nhirschey commented Mar 8, 2023

I am pretty sure this fixes #737. Instead of creating one fsiEvaluator per docs build, I moved fsiEvaluator creation inside the processFile function. Thus, one evaluator per file.

Anecdotally, I have a site with lots of docs files that has been stuck on fsdocs version 15.0.0. Any version $\ge15.0.1$ caused the fsdocs build process to fail with a stack overflow that seemed to be related to collecting script parsing/fsc results in a list. With this PR, the site finally builds on a recent fsdocs version.

Copy link
Collaborator

@nojaf nojaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I think this is ok to have.
Thanks for looking into this!

@nojaf nojaf merged commit 55253a4 into fsprojects:main Mar 9, 2023
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

Successfully merging this pull request may close these issues.

scripts do not seem to be evaluated in isolation
2 participants