Skip to content

Conversation

@joehan
Copy link
Contributor

@joehan joehan commented Mar 5, 2021

Description

Cleaning up our docgen script:

  • Removes crashlytics from toc.yaml
  • Stops trying to delete css.map files if they don't exist

@joehan joehan requested review from egilmorez and inlined March 5, 2021 22:47
// Devsite doesn't like css.map files.
return fs.unlink(`${docPath}/assets/css/main.css.map`);
if (fs.existsSync(`${docPath}/assets/css/main.css.map`)) {
return fs.unlink(`${docPath}/assets/css/main.css.map`);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

When I run this script, I don't get any css.map file generated by Typedoc, and so the script errors out. It's possible that the correct solution here is just to get rid of this unlink entirely, but I figured this was slightly safer in case I'm missing some reason that css.map would get generated .

Copy link
Member

Choose a reason for hiding this comment

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

I did some digging and I can't find out why either. LGTM.

@joehan joehan requested review from inlined and removed request for inlined March 6, 2021 01:02
@joehan joehan merged commit a401954 into master Mar 19, 2021
@joehan joehan deleted the jh-regen-docs branch March 19, 2021 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants