1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Commit Graph

341 Commits

Author SHA1 Message Date
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
James M. Greene
af3a7f37bf Remove unused require in script 2020-11-13 10:30:43 -06: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
James M. Greene
fc917569b4 Add script to symlink to local early-access repo 2020-11-11 00:58:16 -06:00
James M. Greene
050ff6dcbc Update for early-access under assets/images/ 2020-11-10 16:46:10 -06:00
James M. Greene
5b6d704db7 Rename clone-early-access script 2020-11-10 16:01:35 -06: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
James M. Greene
81fda0e207 Cloning script refinements and future planning 2020-11-09 14:38:41 -06:00
James M. Greene
e1f3f6457e Merge branch 'main' into hidden-docs-alt 2020-11-09 13:09:52 -06: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
James M. Greene
ed3baeb5dc Update to use new github/docs-early-access repo 2020-11-05 11:56:27 -06:00
James M. Greene
105bf42f87 Try removing the x-access-token username from the Git URL 2020-11-03 11:27:20 -06:00
James M. Greene
d00f43758c Remove debugging statements 2020-11-03 10:59:08 -06:00
James M. Greene
1ea1396b62 Split debugging statement 2020-11-03 10:54:30 -06:00
James M. Greene
3e097158a9 Add debugging log to cloning script 2020-11-03 10:49:18 -06:00
James M. Greene
3008ad1b70 Update all heroku-prebuild refs to heroku-postbuild 2020-11-03 10:30:11 -06:00
James M. Greene
9720574a1b Add a username to the Git repo string for more completeness 2020-11-03 10:08:14 -06:00
James M. Greene
521d11b6a4 Merge branch 'main' into hidden-docs-alt 2020-11-02 18:03:48 -06:00
Laura Coursen
a3e1733aa1 GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
Sarah Schneider
63e3f917c6 Merge branch 'main' of https://github.com/github/docs-internal into hidden-docs-alt 2020-11-02 14:21:19 -05:00
Lucas Costi
4936dacc7f Update openapi preview script to clean tmp dir (#16232) 2020-10-27 12:24:19 -07:00
Sarah Schneider
df545e8de8 update var refs in script 2020-10-26 09:52:51 -04:00
Sarah Schneider
ea9b161d3f change GITHUB_DOCUBOT_REPO_PAT to DOCUBOT_REPO_PAT 2020-10-23 14:00:02 -04:00
Sarah Schneider
16f9fc7b73 use the new yml config file for setting the EA branch 2020-10-23 12:23:47 -04:00
Sarah Schneider
896db3d788 comment out branch check for now 2020-10-23 10:29:20 -04:00
Sarah Schneider
129641c359 add separate clone script to be run as heroku-prebuild script or locally by docs writers 2020-10-22 11:20:09 -04: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