1
0
mirror of synced 2025-12-25 11:03:37 -05:00
Commit Graph

45 Commits

Author SHA1 Message Date
Sarah Schneider
7a922471d6 ran script/update-readme.js 2020-11-20 11:18:57 -05:00
Sarah Schneider
4ebb52e94d update -> create for consistency 2020-11-20 11:08:53 -05:00
Sarah Schneider
b6deeffbe7 Merge branch 'main' of github.com:github/docs-internal into create-graphql-files-for-new-version 2020-11-20 11:08:00 -05:00
Sarah Schneider
838f770cf0 consistency 2020-11-19 16:36:43 -05:00
Sarah Schneider
51e20e65ba new graphql script 2020-11-19 16:36:17 -05:00
Sarah Schneider
cae6b3439e Merge branch 'main' into format-broken-links-report 2020-11-19 15:47:58 -05:00
Sarah Schneider
2187e98929 move some things around 2020-11-19 14:16:34 -05:00
Sarah Schneider
8815d15550 Merge branch 'main' into format-broken-links-report 2020-11-19 14:04:00 -05:00
Sarah Schneider
c0cc813353 Merge branch 'main' into enterprise-server-scripts 2020-11-19 14:00:16 -05:00
Rachael Sewell
4de2712df8 run prettier on yaml files (#16510) 2020-11-19 10:52:01 -08:00
Sarah Schneider
0a2fb5c6ac Update script/check-english-links.js
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2020-11-19 13:34:20 -05:00
Sarah Schneider
53d1c1d65c a bit more cleanup 2020-11-19 12:03:17 -05:00
Sarah Schneider
1b5153cda1 add retrying step and add better formatting 2020-11-19 11:35:16 -05:00
Sarah Schneider
dfda276317 update formatting 2020-11-18 22:07:14 -05:00
Sarah Schneider
ac3d2bab56 update relative paths 2020-11-18 19:52:34 -05:00
Sarah Schneider
84fa4ed512 rename 2020-11-18 19:52:25 -05:00
Sarah Schneider
8e1fc5415c ran script/update-readme.js 2020-11-18 17:08:07 -05:00
Sarah Schneider
32873110f8 delete old scripts and reorg GHES scripts into subdirs 2020-11-18 16:57:58 -05:00
Sarah Schneider
23e614f3cc Merge branch 'main' into few-more-archival-script-tweaks 2020-11-18 11:12:07 -05:00
Jason Etcovitch
8f2b4eb450 Merge branch 'main' into repo-sync 2020-11-17 18:02:58 -05:00
Nick Schonning
b6de7c6887 chore: Convert Standard to eslint-config-standard (#1328)
* chore: Move standard to ESLint config

* fix: auto-fix ESLint indent issues

* fix: ESLint prefer-regex-literals

* fix: ESLint array-callback-return

- .filter must return a boolean value
- .map replaced with forEach when the value isn't used

* fix: ESLint no-extra-semi
2020-11-17 16:18:18 -05:00
Sarah Schneider
0762631e27 include redirects from old version paths 2020-11-17 15:18:08 -05:00
Sarah Schneider
fdc6ffc574 change paths to use new version format 2020-11-17 13:12:44 -05:00
Sarah Schneider
48413d961c fix encoding bug 2020-11-17 11:58:48 -05:00
Melanie Yarbrough
971d9313a4 Add release banner script to readme (#16461)
* Add release banner script to readme

* Update script/README.md
2020-11-13 13:51:39 -05:00
Sarah Schneider
712003941f Release candidate banner script (#16427)
* remove middleware that sets notification flags

* move all notification handling into includes/header-notification.html

* update tests

* add release candidate header notification

* add release candidate banner text

* new script to add or remove a release candidate banner

* Update script/release-banner.js

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>

* clarify error message

* empty commit to rerun CI

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2020-11-13 12:12:53 -05:00
Sarah Schneider
39bad0ec87 Script to update v3 and v4 links (#16434)
* add script

* add README to content-migrations subdir
2020-11-12 13:48:17 -05:00
Sarah Schneider
ce33df1cd3 New broken link report (#16412)
* add linkinator npm package

* add new script that uses Linkinator

* reorg the excluded links file and update comments

* replace blc artifacts with linkinator artifacts in .gitignore

* update the scheduled workflow to use the new script

* dismantle BLC scripts

* add workflow_dispatch event so we can test this manually

* npm uninstall broken-link-checker

* use different exit codes depending on whether broken links are found
2020-11-10 15:28:44 -05:00
Sarah Schneider
cf82c63698 Script to create webhook payload files for a new version (#16393)
* new script to create webhook payload files for new version

* version does not have to be a GHES version

* remove newline
2020-11-06 16:15:05 -05:00
Sarah Schneider
26e00904ea add some error handling around common issues (#16387) 2020-11-06 13:51:25 -05:00
Laura Coursen
a3e1733aa1 GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
Lucas Costi
4936dacc7f Update openapi preview script to clean tmp dir (#16232) 2020-10-27 12:24:19 -07:00
Zeke Sikelianos
5f7243c3ff improve script for resetting translated files (#16099)
* improve script for resetting translated files

* update script/README.md

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-10-16 15:16:56 -04:00
Jason Etcovitch
efed031ea4 Add copy button to code blocks (#16052)
* Add deps

* Setup copy events

* Updoot

* Tweak styling

* Do a lil' proof-of-concept

* Updoot @github-docs/render-content

* Use SCSS variables for custom styles

* Adjust docs

* Ignore clipboard in check-deps

* Add copy annotation to quickstart workflow sample

Co-authored-by: Cynthia Rich <crichID@users.noreply.github.com>
2020-10-16 10:55:35 -04:00
Sarah Schneider
da60aa51e1 Support enterpriseServerVersions in Liquid statements (#16058)
* remove outdated and redundant context.enterpriseVersions and add new context.enterpriseServerVersions

* update references from context.enterpriseVersions -> context.enterpriseServerReleases

* add test

* also test oldest supported enterprise version in addition to the latest

* Script to update not-free-pro-team conditionals (#16060)

* script to update not-free-pro-team conditionals

* change string to regex so we can do replace all

* remove stray test.only

* Update middleware/context.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update tests/unit/page.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update tests/unit/page.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update tests/fixtures/page-versioned-for-all-enterprise-releases.md

Co-authored-by: James M. Greene <JamesMGreene@github.com>

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-10-15 16:20:41 -04:00
Lucas Costi
e33eb21fe6 Update OpenAPI script bundle command (#16044) 2020-10-15 16:17:06 +10:00
Sarah Edwards
ad274d4fa4 update preview-openapi-changes documentation (#16022)
* update preview-openapi-changes documentation

* clarify formatting and that bin dir should exist locally
2020-10-13 19:10:39 -07:00
Jeff McAffer
6da14f22d5 Reorg LICENSE files to be more discoverable (#204)
* Reorg LICENSE files to be more discoverable

* add missing )
2020-10-07 15:11:49 -07:00
Zeke Sikelianos
97b949aef6 Merge branch 'main' into repo-sync 2020-10-07 11:16:38 -07:00
Zeke Sikelianos
b13d24ed53 update scripts/README.md (#117)
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2020-10-07 10:44:56 -07:00
Zeke Sikelianos
3452b39088 nothing to see here (#15907)
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
2020-10-07 10:09:30 -07:00
Sarah Schneider
0b1c7ad466 Update Enterprise Liquid deprecation handling to use new versions (#15818)
* update Liquid deprecation fixtures to use new versions

* update module that removes deprecated GHES frontmatter for new versions

* update module that removes deprecated GHES conditionals for new versions

* update script to use new versions and also remove internal-developer checkout option

* update deprecated Liquid tests to use new versions

* remove unnecessary leading slash in getEnterpriseServerNumber pattern

* include a step that runs script/remove-unused-assets.js

* Update script/remove-deprecated-enterprise-version-markup.js

Co-authored-by: Jason Etcovitch <jasonetco@github.com>

* require script instead of execSync

Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2020-09-30 19:29:08 -04:00
Jason Etcovitch
caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00
Sarah Schneider
aa5a62d49d Remove versions feature flag code (#15793)
* remove FEATURE_NEW_VERSIONS from feature-flags.json

* remove process.env.FEATURE_NEW_VERSIONS from include files

* remove process.env.FEATURE_NEW_VERSIONS from lib files

* remove process.env.FEATURE_NEW_VERSIONS from middleware files

* remove process.env.FEATURE_NEW_VERSIONS from script files

* remove process.env.FEATURE_NEW_VERSIONS from test files

* update test fixtures to use new versions as canonical fixtures
2020-09-29 13:36:07 -04:00
Vanessa Yuen
3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00