* adding new tables and linking to info on audit logs
* editing some text:
* adding new info on how to add image registry login
* adding link and fixing table
* formatting
* formatting
* Apply suggestions from code review
Co-authored-by: Laura Coursen <lecoursen@github.com>
* updaing private image registry secret info and other improvements
* some minor fixes
* fixing test errors
* rewriting registry secret section
* rewriting registry secret section
* updating link to reflect title
* Update content/github/developing-online-with-codespaces/managing-encrypted-secrets-for-codespaces.md
Co-authored-by: Laura Coursen <lecoursen@github.com>
* updating bullet point
* moving codespaces to top-level item
* fixing duplicated redirect
* Adding some organization for contributors
* adding learning codespaces to index file
* do not error out if category array is empty
* Apply suggestions from code review
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* fixing broken link
* Document choosing machine type for a codespace in the GitHub UI (#19055)
* Document choosing machine type in the GitHub UI
* Replace link placeholder with actual path
* Update content/codespaces/changing-the-machine-type-for-your-codespace.md
Co-authored-by: Amy Burns <timeyoutakeit@github.com>
Co-authored-by: Amy Burns <timeyoutakeit@github.com>
* reoganizing based on CD
* putting machine type doc in correct location
* fixing broken redirects
* removing quickstart example from index page
* updating main index file
* Fixing broken links
* adding intros
* adding js quickstart (#18960)
* adding js quickstart
* clarify walkthrough
* adding more images and last few sections
* fixing broken links
* fixing broken links and formatting
* formatting fixes
* Apply suggestions from code review
Co-authored-by: hubwriter <hubwriter@github.com>
* adding index file for learn folder
* adding some feedback changes
* adding some review comments
* fixing broken links
Co-authored-by: hubwriter <hubwriter@github.com>
* doing some additional re-org
* fixing topics
* adding Codespaces as a topic
* fixing so title matches slug
* Update data/reusables/codespaces/codespaces-machine-types.md
Co-authored-by: Meg Bird <megbird@github.com>
* expanding intro
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Meg Bird <megbird@github.com>
* Add actions category name as first commit
* Package reorganization: rename articles for "Learning..." and "Managing..." categories (#18880)
* Initial prep work for Packages reorg
* Make changes for Learning and Managing categories
* Match file name to revised article title
* Rework packages guides (#18902)
* Create new directory
* Delete guides directory and index.md link
* Remove duplicated redirects to fix test
* fix folder name
* delete temporary directory of old content
* Add Gradle article
* Update landing page with new links
* Update test to fix CI failure for deleted articles
* Update links and titles for reorg-ed articles
* Fix broken links
Co-authored-by: hubwriter <hubwriter@github.com>
* Update more changed article titles in links (#18911)
* remove test line to test PR build failure
* Add sections to permissions article
* Add draft reusable
* restore versioning tests
* Remove accidental inclusion of new reusable from a different branch
* Package registry content redesign updates (#18930)
* Update container registry product variable
* First round of edits
* Update tidbit
* Apply suggestions from code review
Co-authored-by: hubwriter <hubwriter@github.com>
* Update docker-vs-container-registry.md
* Update authentication section to resolve bug/confusion
* Revisions
* Last touchups
* Migration from intro article
Co-authored-by: hubwriter <hubwriter@github.com>
* Add versioned diagrams
* Add packages actions revisions (#18956)
* Add refreshed content
* Update content/packages/managing-github-packages-using-github-actions-workflows/example-workflows-for-publishing-a-package.md
Due to tightness of time on this I'm going to commit this suggestion so that I can merge this PR into the Packages megabranch.
Co-authored-by: hubwriter <hubwriter@github.com>
* Packages reorg: "Introduction to GitHub Packages" article (#18906)
* Initial commit. Remove stray comma
* Initial CC work - WiP
* More changes for the Introduction article
* Make changes as per Jessica's review
* Fix broken reusable ref
* improve test failure message and add clarifying comments
* Packages reorganization: More updates to the 'Learn GitHub Packages' articles" (#18961)
* Viewing - WiP
* More updates to the 'Learn...' category
* revisions to intro article
* Add permissions article and make a few other streamlined updates
* Fix links 🌿
Co-authored-by: jmarlena <>
* Apply suggestions from code review
* Apply product input
* Fix versioning
* Apply some straight-forward suggested changes ⚡
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Apply suggestions from code review
* Add "GitHub Packages" before container registry mention
* Standardize visibility & permsisions section into a reusable
* Add link
* Replace outdated link
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* ✂️ cut note
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Superseded rewrite?
* bye single-use reusable
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Condense packages & actions conceptual content
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* remove "package registries"
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Add reusable
* Add these redirects from the deleted containers conceptual article
* Incorporate changes from main into retitled articles 💫
* Missing endif
* Fix unexpected redirect behavior
* Revamp and consolidate actions access settings
* Further reading section
* Last fix for now
* standardize steps
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: jmarlena <>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
- add `script/test-render-translation.js` to render all translated content to catch malformed liquid that would cause render errors
- improve test output for `script/fix-translation-errors.js` and `tests/content/lint-files.js`
- make it so `script/reset-translated-file.js` can handle files that have been renamed
* create script to fix easy-to-fix frontmatter errors in translation
* improve reset-translated-file.js: allow reverting to the same file from `main` branch
* fix release-notes as well
* also lints liquid in frontmatter
* Install liquidjs, uninstall liquid
* Comment a bunch of stuff out to get going
* Fix invalid includes
* Fix all includes (path => 'path')
* Get the homepage to render
* Do link-in-list kinda
* Revert "Fix all includes (path => 'path')"
This reverts commit d6fead646353aa5041d9229470a62a1d487456b9.
* Support non-dynamic partials
* Extract getTemplate helper
* Do remaining custom Liquid tags
* Fix some custom tag bugs
* Moar bugs
* Re-add link tag
* Cleaner diff
* Actually fix extended markdown tags
* Fully comment out version matchers
* Smaller diff
* Rely only on Liquid internals for conditionals
* Use new operators option in Liquid engine
* Fix link.js
* Don't need options
* Updoot to the right doot
* Fix some bugs
* Fix another bug
* Pass a test
* Fix the translate bits
* Adjust a test
* Fix another invalid Liquid bug
* Two more borked translations
* Found some more
* Don't need this change
* Revert "Don't need this change"
This reverts commit a916d619747f0492865a69c3e237c97c4d4e7fad.
* This should fix the broken links
* Missed one
* Revert "This should fix the broken links"
This reverts commit e6c2cc0d9055d958706260d57edbe293281c150e.
* Revert "Missed one"
This reverts commit bbe1f23baf16e020f6f7931589decb1afc75dfbd.
* Updoot liquidjs
### Why:
A lot of content gets mistranslated, some common patterns are: frontmatter date and enums getting translated, liquid tags get translated or go missing during the translation process. These translation errors are tough to catch, especially when they often come in huge PRs.
### What's being changed:
- Frontmatter is also getting linted against schema as part of `lint-files`
- When an environment variable `TEST_TRANSLATION` is passed,
- `lint-files` will run its tests against all files that have been newly translated (by git-diffing between `translations` branch and `main` branch), and
- results are outputted using a custom jest reporter. The output is formatted in a way that makes it easy to exclude the problematic translated files from being merged, and to share the errors with [localization support](https://github.com/github/localization-support/issues/489).
- Run the implemented translation test as part of the existing `Node.js Tests - Translations` workflow
* Add markdown parsing dependencies
* Use it for the link test
* Use ast tests for hard-coded language
* Dedupe visiting for links
* Add new mdast utils to check-deps exclusions
* Move site search to use an endpoint
* Update browser.js
* Update search.js
* Update lib/search/versions.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Fix URLs
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Update tests to use fs.promises when not top-level
* Move two to asyncFilter
* Update site-data-references.js
* Update site-data-references.js
* Clear out await fs.exists
* Lint
* A few more fixes
* Can't use async when defining tests
* Update README
* [Universe] Dark mode (#16545)
* Dark mode updates (#16696)
* [Universe] Corporate sponsors (#16457)
* Dependency review beta (#16563)
* Add placeholder topic file
* Revert change I didn't make
I'm not sure where this change came from or why it's showing up in my PR here but I didn't make this change and it's not part of Dependency Review so I'm reverting it.
* Un-revert previous change
OK I see what happened there. I was comparing the PR to main rather than the Universe megabranch, hence it showed a change I didn't make.
This commit undoes the change I do not want to revert on the megabranch.
* Update image to add the Checks tab
* Finish updating topic to mention DR
* Fix check errors
* Fix another versioning error
* Add a sentence about supported ecosystems
* Add review changes
* Remove Further reading topics in same category
As suggested by James, I've removed the links to topics that are in the same `/collaborating-with-issues-and-pull-requests/` category as this topic.
* Update content/github/managing-security-vulnerabilities/about-managing-vulnerable-dependencies.md
Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
* Update content/github/managing-security-vulnerabilities/about-managing-vulnerable-dependencies.md
Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
* Update content/github/managing-security-vulnerabilities/about-managing-vulnerable-dependencies.md
Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
* Update content/github/managing-security-vulnerabilities/about-managing-vulnerable-dependencies.md
* Updates in the light of Maya's review
* Remove use of "exploit" in description
* Change 'dependency review summary' to 'dependency review'
See PR review comment from Maya.
* Mention that the age of the dependency is given
* Update screenshots to latest GUI
* Add details of dependency ordering within a DR
* Update content/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request.md
Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
* Update content/github/managing-security-vulnerabilities/about-managing-vulnerable-dependencies.md
Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
* Update content/github/visualizing-repository-data-with-graphs/about-the-dependency-graph.md
Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
* [Universe 2020] New audit log REST API endpoint (#16699)
* Minimal updates for preview
* ✨ API previews ✨
* Update beta note
* ✨ Update API previews ✨
* ✨ Update previews ✨
* Add draft section for git events
* Clean API previews
* More fixes + API previews
* Address review comments + update API previews
* Mention cursor-based pagination
* Update content/rest/overview/resources-in-the-rest-api.md
Co-authored-by: Jeff Saracco <jeffsaracco@github.com>
* Temporarily revert API previews
* Small tweaks from review comments + API previews
* revert json schemas
* Updating OpenAPI descriptions (#16776)
* Updating OpenAPI descriptions
* Add decorated OpenAPI schema files
Co-authored-by: Jeff Saracco <jeffsaracco@github.com>
Co-authored-by: skedwards88 <skedwards88@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
* [Universe 2020] GitHub Actions: Workflow visualization (#16629)
* initial empty commit
* replace image used only for dotcom
* add new image and version usage
* add new image and version usage
* add new image and version usage
* add new image and version usage, delete unneeded image
* add new image and version usage, fix incorrect image
* add new image and version usage
* add new image and version usage
* add new image and version usage
* add new image and version usage
* update screenshot update
* add new image and version usage
* add new image and version usage
* update text
* update images and fix list numbering
* add step with graph
* Add missing versioning
* add overview of visualization
* fix title to match filename
* add beta note
* update wording
* Restructuring packages (#16731)
* restructuring packages
* moving more content
* moving more content
* fixing the toc for guides
* removing CR from the landing page
* adjusting qs
* updating npm
* enhancing guides
* Update updating-github-insights.md
* fixing link problems
* fixing link problems
* redirecting the redirects
* another change
* fixing the guides landing page
* add packages quickstart
* moving CR content
* adding some descriptive text
* add packages landing page
* adding guide content back
* update popular articles based on data
* fix caps on product name
* try removing product from front matter
* Update content/packages/quickstart.md
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Update content/packages/quickstart.md
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* add node package instructions to quickstart
* fixing links and adding redirect
* fixing redirects
* renaming to container guides
* renaming to container guides and fixing reusables
* adding context and about section to CR
* removign landign page extra titles and descriptions
* reverting the packages
* updating link
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
* updating
* update test to reflect redesigned product landing page
* Add private vs public clarification
* Fix borked test
* filter out standalone category files from test
Co-authored-by: Cynthia Rich <crichID@github.com>
Co-authored-by: Cynthia Rich <crichID@users.noreply.github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
* Add discussions video
See https://github.com/github/docs-internal/pull/16759
* Remove typos
* update article name in test
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: Jeff Saracco <jeffsaracco@github.com>
Co-authored-by: skedwards88 <skedwards88@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
Co-authored-by: Cynthia Rich <crichID@github.com>
Co-authored-by: Cynthia Rich <crichID@users.noreply.github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
* Update README
* create structure for discussions landing page
* is everything broken
* [Universe] Dark mode (#16545)
* Fix title
* Add Discussions product
* Correct title
* Correct title
* Move quickstart article
* Move quickstart back out into article
* Add and incorporate reusables
* Move information about search
* Draft conceptual information
* Draft best practices
* Draft further reading
* Draft product introduction
* Draft introduction
* Add author metadata
* Pluralize
* Fix typos
* Add introduction
* Bump Octicons
* Add some reusables
* Add images
* Revise article
* Draft article
* Change word
* 🔪 the gerund
* Add reusable
* Revise introduction
* Revise list
* Simplify
* Revise reusable
* Fix reusable; add context
* Rename reusable
* Deduplicate conceptual information
* 🔪 gerund
* Add link to further reading
* Move link and dispose of tip
* Delete space
* Add images
* Add conceptual section
* Add word
* Delete newline
* Revert package.json to state on main
* Tweak images
* Draft article
* Add product name
* Remove beta note
* Use product name for future-proofing
* Begin adding search information
* Fix copypasta
* little edits
* build out a bit more of the guides content
* Don't mention integrations for now
* Escape quote
* Remove authorship information for new defaults
* Finish drafting article
* Replace encoded character to match description
* Revise away inline link
* Accommodate 'for more information' in reusable
* Fix links
* Fix one last bit of copypasta
* Update indices
* Temporarily remove heading
* Update introduction
* Add new article 💀
* Remove commits from universe-2020-megabranch
* Add article 💀
* update with a very rough draft
* Add content about collaboration options to "About repositories"
* Add content about discussions to "About issues"
* Reorder content
* Add is:discussion query
* update with a few mmore fleshed out sections
* update with more structure
* Add reusable
* Add screenshots
* Clear way for actual procedural
* Discussions landing page "Communities" section (#16692)
* Make button Overview-able
* Make card filtering more extensible
* Guard for missing attributes
* Use arbitrary dataset attributes
* Add section with discussions-community-card
* Tweak show more button behavior
* Conditionally show "Show more"
* Add beta_product frontmatter/label
* Remove beta callout note
* Hide changelog with no items
* Finish importing community info
* Fix borked markup
* Omit search abr
* Two columns should actually be two columns
* Use org image, change card layout
* Add two more examples
* Fix title
* Escape quote
* Escape another quote
* Draft article
* Lower case
* Relocate conceptual information
* Update qualifier name
* Draft article
* Add conceptual information and links
* Remove duplicative section
* Fix copypasta
* Revise reusable
* Update link
* Add content on categories
* Lint the discussions YAML file
* Update introduction and permissions
* ⚓
* Reusablize; fix link
* more planning content stuff
* Escape quotes
* Align prerequisites
* Soften
* Clean up prerequisites
* Fix titles; version; add screenshot
* Fix links
* Actually fix links
* Use better variable
* Mention pinning
* Update screenshots
* Add screenshot
* forgot to committ
* update with reusable
* add that screenshot
* beef up landing page a bit
* remove extra space
* messed that up
* fix hardcoded linkks weirdo
* fix tests
* update with permissions content
* update with placeholder
* filter out standalone category files from test
* update
* update @becca's ⚡ feedback
* update with more feedback
* so many updates
* fix links
* fix some more tests
* flesh some more things out
* update with further reading blah blah
* fix some things
* remove the gate-features label for beta ship only
* Add discussions video to product landing page (#16759)
* Add discussions video placeholder
* This might work maybe
* fix tests
* apply all of @becca's and @lecoursen's ⚡ feedback ❤️
* rename to fix test
* Revert "Add discussions video to product landing page (#16759)"
This reverts commit 2247e5d0881ca6b36cee421218e8341a7cc12ac7.
* update with test fix
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
* Revise the 'pages' module to export two methods: 'loadPages' and 'loadPageMap'
Update all existing references to use 'loadPages' for now
* Remove explicit Promise resolutions on loadPage* methods
* Condense reduction method into its now-singular usage spot
* Opt for for-of instead of forEach
* Make require of pages in warm-server more explicit
* Be more explicit about find-page using a pageMap
* Be more explicit about find-page-in-version using a pageMap
* Be more explicit about site-tree using a pageMap
* Extract the map creation from loadPageMap
* Be more explicit about using a pageMap
* Update redirects precompile to take two arguments: pageList, pageMap
* Rename internal loadPages method to loadPageList
* Clarify pageMap is what is stored in context.pages
* Use loadPageMap in tests and stuff