Commit Graph

27 Commits

Author SHA1 Message Date
Jennifer Thakar
87699d79b2
Add deprecations.yaml as a single-source-of-truth (#3872)
Instead of having the list of deprecations repeated in several different
places across all of our repos, the new `spec/deprecations.yaml` file
will be the only place we need to update it, with all other uses
generating code based on it.
2024-05-29 14:23:18 -07:00
なつき
b22ff9dd45 Fix NodePackageImporter version compatibility (#3788)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2024-03-27 11:43:24 -07:00
James Stuckey Weber
d6c7d941d2
Proposal: Package Importer and built-in Node implementation (#3660)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
Co-authored-by: Ed Rivas <ed@oddbird.net>
Co-authored-by: Ed Rivas <ed@jerivas.com>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-09-22 23:09:36 +00:00
Natalie Weizenbaum
7abda4e2f4
Use literate programming for JS API specs (#3552) 2023-04-27 13:50:53 -07:00
Natalie Weizenbaum
e16eb73684
Work around tcort/markdown-link-check#260 (#3555) 2023-04-24 13:53:58 -07:00
Natalie Weizenbaum
7d0c8c22f0 Allow link-check.ts to take specific files as arguments 2023-04-12 17:35:49 -07:00
Natalie Weizenbaum
c074df5a41 Fix the link checker test
Closes #3541
2023-04-12 17:35:49 -07:00
Natalie Weizenbaum
a082ecfbaa
Improve the output of the ToC-check test. (#3488)
* Include the command for fixing the ToC
* Print a patch rather than the entire ToC.
* Always enable colors on CI.
2023-02-06 17:59:36 -08:00
Natalie Weizenbaum
de325aae5f
Exempt Twitter links from the link check test (#3292)
These have recently begun failing and blocking our CI.
2022-04-18 16:26:55 -07:00
Natalie Weizenbaum
a48cd426b2
Update dependencies (#3193) 2021-10-26 20:28:33 +00:00
Natalie Weizenbaum
67e3d7c2d7 Ignore js-api-doc in the link checker
This can have links to other API docs, which the checker is unable to
follow.
2021-10-04 15:01:18 -07:00
Natalie Weizenbaum
6f5552ff8e Document the legacy API and Logger 2021-10-04 15:01:18 -07:00
Natalie Weizenbaum
2f3c06fde0 Use a custom prettier parser to remove comments in js-api-doc-check
The strip-comments package is broken by
jonschlinkert/strip-comments#69 and doesn't seem to be maintained
anymore.
2021-10-04 14:18:13 -07:00
Natalie Weizenbaum
1b0574a27a
Create a parallel set of type annotations for documentation (#3172)
Because the doc comments for spec/js-api are written for
implementation authors, they aren't very useful as documentation for
end-users. This gives us a place to write user-facing documentation as
well as a test that verifies that the underlying type declarations are
kept in sync.
2021-10-01 22:45:27 +00:00
Natalie Weizenbaum
723e9db494
Use TypeScript for tools and tests (#3169) 2021-09-30 20:25:38 +00:00
Awjin Ahn
7cd83369e9
Rate limit Markdown link checks (#3112) 2021-08-24 15:56:47 -07:00
Christophe Coevoet
f7066ef349 Enabling retrying on 429 when checking github links
This avoids issues when reaching the github rate limit.
2021-01-08 11:30:02 +01:00
Natalie Weizenbaum
3e6cf45487 Factor out TOC logic into a shared library 2020-11-23 16:57:42 -08:00
Natalie Weizenbaum
ba91059291 Migrate JS code to ES6 modules 2020-11-23 16:48:56 -08:00
Natalie Weizenbaum
c05ad6c269 Fix style issues 2019-11-26 20:37:16 -08:00
Natalie Weizenbaum
a5f793fccb Make link-check.js check local cross-file links
Also fix a bunch of broken links this detected.
2019-11-26 19:35:46 -08:00
Natalie Weizenbaum
9dbf71b8fa Style changes 2019-05-14 17:40:51 -07:00
TPartida
a121913962 Verify internal anchor links 2019-05-14 14:06:20 -07:00
TPartida
08eaddb259 Fix code style with Standard
Fixed code style with Standard
2019-05-13 15:40:28 -07:00
Natalie Weizenbaum
7a8b441d1d More style changes 2019-05-13 15:36:09 -07:00
TPartida
b9048cd6cb Run TOC check
Added test for table of contents

Removed unnecesary line

Modified console log color

Added exitCode

Installed npm packages Colors and Diff

Removed Chalk

Added Diff to show errors more precisely

Style tweaks

Simplified the getCurrentToc function

Removed VS Code from .gitignore

Update .travis.yml

Co-Authored-By: TeresaPartidaS <teresapartida.s@gmail.com>

Used trim to get rid of blank spaces

Fixed style issues
2019-05-13 15:40:06 -07:00
Teresa Partida
693291e089 Added test for external links
Updated direction of a file

TOC-check test

Allows to check the TOC of one file

Check TOC of all markdown files

Added test for external links
2019-05-13 15:38:42 -07:00