1
0
mirror of synced 2026-01-07 09:01:31 -05:00
Commit Graph

80 Commits

Author SHA1 Message Date
Sarah Schneider
88d895fb50 Merge branch 'main' of github.com:github/docs-internal into deprecate-static-files 2020-12-01 09:15:29 -05:00
github-openapi-bot
336f2f0f91 Updating OpenAPI descriptions (#16667) 2020-12-01 10:09:48 +10:00
Sarah Schneider
f66d1a472c Merge branch 'main' of github.com:github/docs-internal into deprecate-static-files 2020-11-30 13:56:11 -05:00
Sarah Schneider
8c1a9c1eed Merge branch 'main' into version-graphql-objects-links 2020-11-30 13:29:07 -05:00
Sarah Schneider
0a36eaad02 ran script/enterprise-server-deprecations/remove-static-files.js 2020-11-30 13:16:13 -05:00
Sarah Schneider
d9c4409fe7 reran script/graphql/update-files.js 2020-11-30 11:49:44 -05:00
Sarah Schneider
416bc384a6 Merge branch 'main' into fix-works-with-github-link 2020-11-30 11:41:29 -05:00
Sarah Schneider
d0efefdc21 Merge branch 'main' into version-graphql-objects-links 2020-11-30 11:23:51 -05:00
github-openapi-bot
3daf8a4306 Updating OpenAPI descriptions (#16647) 2020-11-27 12:29:56 +10:00
Sarah Schneider
fdb86009aa ran script/graphql/update-files.js with the objects page objects 2020-11-25 19:22:59 -05:00
Sarah Schneider
739d8761d4 Merge branch 'main' into fix-works-with-github-link 2020-11-25 11:42:50 -05:00
Jason Etcovitch
4484068e01 Move render-content code to this repo (#16544)
* Move render-content files in here

* Replace existing file with nested index.js

* Copy in tests and jest-ify

* Update docs

* Uninstall @github-docs/render-content

* Bring over README

* Add missing dependencies

* Fix require paths
2020-11-25 11:20:23 -05:00
Sarah Schneider
aa0facaba5 ran script/rest/update-files.js --decorate-only 2020-11-25 09:21:37 -05:00
Jason Etcovitch
1ec8c35e34 Refactor indented_data_reference to use Liquid internals (#16623)
* Refactor indented-data-reference

* Add spacing around referenced reusables

* Update expected test output

* Fail silently with empty valuer
2020-11-24 16:50:20 -05:00
Sarah Schneider
8f0093c63a OpenAPI tooling updates (#16320) 2020-11-24 12:20:10 -08:00
Lucas Costi
2ca2698703 Merge branch 'main' into find-page-in-version-redux 2020-11-24 10:40:08 +10:00
Jason Etcovitch
18561c059f Remove additional whitespace (#16593) 2020-11-23 15:06:57 -05:00
Sarah Schneider
26b9459048 Merge branch 'main' of github.com:github/docs-internal into find-page-in-version-redux 2020-11-23 12:14:45 -05:00
Sarah Schneider
642e669dec Merge branch 'main' of github.com:github/docs-internal into build-indices-for-given-version 2020-11-20 16:02:49 -05:00
Jason Etcovitch
cc719ffb6f Render Enterprise release notes on docs.github.com (#16367)
* Create basic layout

* Create stubbed out release note YAML

* Get a real implementation going

* Simplify using site-data

* Add a real page to send from render-page.js

* Use array of patches

* Render patches

* Add sidebar and breadcrumbs

* Reverse order

* Add date

* Tweak labels

* Redirect to entweb for missing versions

* Render patch.intro

* Move to separate files for patches

* Show support for RC versions

* Improve some comments

* Sticky headers!

* Remove a console log

* Improve example formatting

* Add a link on /admin

* Add a schema and test

* Move to /index.md, add version_num filter

* Improve layout

* Use <details>

* Placeholder more realistic notes

* Don't require links in index pages

* Remove admin/index link for now

* Remove unused frontmatter field

* Add a test for middleware

* Fix remaining YAML file to test CI

* Update 2-rc.yml

* Don't call it RC

* Just push

* Make a main a div

* Fix a borked class

* Lint YAML files

* Improve Download link

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

* Improve check order

* Move to contextualizers

* Use alternative version thing

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

* Move back to `release-notes.md`

* Use version for anchor IDs

* Undo category-pages test change

* Fix borked details layout in Chrome

* Improve mobile setup

* Render markdown in note tags

* Use allVersions[currentVersion] again

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

* Undo change to extended-markdown

* Add whitespace so it renders markdown bits

* Remove 2-22 files

* Add check for any release notes

* Fix the failing tests

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2020-11-20 13:33:11 -05:00
Jason Etcovitch
86c9bbf7c3 Instrument warm-server via Datadog (#16566)
Co-author: @chiedo

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-11-20 13:09:39 -05:00
Sarah Schneider
180c7c7db1 build specified language or version indices only 2020-11-20 10:43:39 -05:00
Sarah Schneider
1a3412ee27 Merge branch 'main' into format-broken-links-report 2020-11-19 16:58:03 -05:00
Jason Etcovitch
52dbd92144 Rewrite links in Page.intro with language (#16550)
* Add defaultLanguage behavior

* Add a million logs because I'm confused

* Rewrite intro links

* Undo changes to detect-language

* Add a test
2020-11-19 15:53:35 -05:00
Sarah Schneider
cae6b3439e Merge branch 'main' into format-broken-links-report 2020-11-19 15:47:58 -05:00
Rachael Sewell
4219c176ad run graphQL updater script (#16546) 2020-11-19 11:55:36 -08:00
Sarah Schneider
018b1316bf format excluded links for use in regex 2020-11-19 11:34:41 -05:00
Sarah Schneider
d208a8951e Merge branch 'main' into find-page-in-version-redux 2020-11-18 16:49:46 -05:00
Sarah Schneider
67f490752a move is-archived-version into a function instead of middleware 2020-11-18 15:18:50 -05:00
Sarah Schneider
84f0aac8f6 Merge branch 'main' of github.com:github/docs-internal into deprecate-2.19 2020-11-17 21:20:38 -05:00
Leona B. Campbell
73e326ffdd adding latest graphql changes (#16507) 2020-11-17 17:37:17 -08:00
Jason Etcovitch
8f2b4eb450 Merge branch 'main' into repo-sync 2020-11-17 18:02:58 -05:00
Sarah Schneider
75bf7a99f6 move 2.19 to deprecated and remove dev docs routes for 2.19 from static redirect file 2020-11-17 16:33:52 -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
b5dddd4ac9 move deprecation date calculation from client side to server side 2020-11-16 20:06:16 -05:00
Kevin Heis
714ca0263b Add hostname to events (#16419)
...so that its easier to filter out localhost and herokuapp domains
2020-11-16 09:49:12 -08:00
Jason Etcovitch
a333b6552f Use the right Datadog API key (#16468)
* Do the thing

* Retrigger Actions
2020-11-16 11:29:27 -05:00
Jason Etcovitch
0730158918 Datadoge (#16464)
* Install hot-shots

* Add statsd client

* Add some metrics

* Add a comment

* Comment typo fix

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2020-11-13 15:49:50 -05:00
jmarlena
45398e709c Password authentication and OAuth Authorizations API deprecation (#16375)
* Version password examples for GHES only

* Remove unnecessary note

* Versioned deprecation reusable for GHES only?

* Update troubleshooting article

* Version OAuthorizations REST API page for enterprise-only

* Remove deprecations reusable

* Add tentative note

* Rework two-factor authentication sections

* Fix double redirect reference

* versioning tweak

* Versioning tweaks

* adding back the endifs

* random link reformatting

* OAuth Authorization API versioned for 2.22

* /

* Fix internal docs links

* remove static redirect for dotcom

* Try deleting redirect

* Apply @martin389's suggested changes

Co-authored-by: Martin Lopes <54248166+martin389@users.noreply.github.com>

* Remove best practice assumptions

* Apply suggestions from code review

Co-authored-by: Martin Lopes <54248166+martin389@users.noreply.github.com>

* Add note

* restore redirects in content file and remove free-pro-team expected path from test fixture

* change note position

* handle path that was available on dotcom in developer site but is now GHES only

Co-authored-by: Martin Lopes <54248166+martin389@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
2020-11-13 11:01:17 -08:00
Sarah Schneider
cdb935cc63 Merge branch 'main' of https://github.com/github/docs-internal into find-page-in-version-redux 2020-11-12 13:32:04 -05:00
Sarah Schneider
9bfaee1dc1 use new module 2020-11-12 13:28:38 -05:00
Sarah Schneider
5822fa4747 add new module 2020-11-12 13:28:32 -05:00
Jason Etcovitch
7b31c08e16 "All articles" component of Actions landing page (#16318)
* Spike out all-articles.html

* Use it somewhere

* Do the thing

* Use 3 columns

* Increase space between links

* Hide standalone categories

* Move all-articles to bottom of product-landing

* Add obj_size filter

* Add buttons if numArticles > 10

* Add click event to show

* Add a chevron ^

* Assign maxArticles for some DRY fun

* Add some comments
2020-11-12 12:57:30 -05:00
Jason Etcovitch
dd91c5a707 "Guides" section of the Actions landing page (#16216)
* Add custom hover shadows

* Support avatars

* Add guide-card include

* Use it in product-landing

* Add gradient styles

* Add guides frontmatter

* Use guideArticles instead of full objects

* Add support for authors

* Add support for category header

* Just pass the whole page

* Use it

* guide.url => guide.href

* Use `*.githubusercontent.com`

* Fix mobile card width

* Remove showDescription check

* Use featureLinks.guideCards

* Forgot an if

* Remove support banner

* Just use login instead of name/avatarUrl

* Change card spacing

* Use circular avatars

* Add margin beneath "Guides"

* Use smaller font

* Even moar spacing

* Remove category

* Remove lead text, move button to bottom right

* update guide cards

* Change author of setting up ci to GitHub

* Attribute node js guide to GitHub

* Add author tag to powershell guide

* update top guides section with correct actions links

* Enforce size for single avatars

* Adjust spacing

Co-authored-by: Cynthia Rich <crichID@users.noreply.github.com>
2020-11-11 12:53:46 -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
Leona B. Campbell
1e33237812 graphql latest (#16370) 2020-11-05 17:23:25 -08:00
Sarah Schneider
e9c09f1f7d ran script/update-enterprise-dates.js (#16337) 2020-11-04 10:49:56 -05:00
Sarah Schneider
ba310bf991 Support GHAE in Algolia (#16315)
* add frontend search support for GHAE version

* add support for GHAE version to Algolia sync

* add browser tests for frontend search

* if a version can be derived from a path, but it is not a real version (like from a path that 404s), fall back to dotcom

* Update javascripts/search.js

* Update lib/algolia/sync.js
2020-11-03 15:35:56 -05:00
Jason Etcovitch
7d55775285 Actions landing page top bits (#16266)
* Add changelog frontmatter

* Reorganize some properties

* Move sections to product-landing

* Add more items

* Changing heading design

* Redesign hero

* Remove "GitHub Actions:"

* Popular ~articles~

* Use proper date formatting

* Quick start => Quickstart

* Add a comment

* Add to content/README
2020-11-03 13:23:50 -05:00
Matt Pollard
2484cd3f16 Add external GitHub CLI product (#16277) 2020-11-03 08:11:49 +01:00