1
0
mirror of synced 2026-01-09 06:03:09 -05:00
Grace Park 9b39fcbce3 Refactor parameter tables (#25676)
* reactify rest pages

* add space

* speed up pages by only sending applicable rest operations

* reactify rest operation part 1

* remove restpage

* sync translations directory with origin/main

* remove translation file

* clean up

* fix openapi tests

* fix tests

* remove unused variables

* add apps available page component (#25086)

* simplify getRest module

* add code sample component

* revert translation files

* revert translation files

* update tests

* add rest response and notes

* refactor and create codeblock and add styling changes from design systems

* nested all returned jsx into one single fragment

* update style name

* remove unnecessary div

* update title and add response max height and overflow

* refactor entry to RestOperation component

* cleanup types and unique keys

* update decorated files

* Rest page data (#25346)

* update endpoints for apps layout

* remove null type

* Update components/rest/CodeBlock.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* updating renderTableRows

* cannot set p tag - should be div

* Ashs new feedback on the code blocks

* remove rest html pages

* Removing and updating decorated files (#25484)

* removing and updating decorated files

* bring back default tool

* fix tests

* add types

* fix styling in nested tables

* semantic changes

* adding unique key index

* remove unnecessary styling

* update styling for categories

* place app file in own directory

* update types

* update function in code samples

* fix some bad conflict resolution

* add rest banner back to rest pages

* Move all rest Markdown to data directory (#25598)

* Update components/rest/RestNotes.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* adding translation (#25673)

* revert change to Dockerfile

* refactor parameter tables

* move toc to server side

* adding missing files

* updating spacing

* update body table

* Update components/rest/BodyParametersRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* adding Fragment

* remove key from tr since it is on Fragment

* move around imports

* Update components/rest/BodyParametersRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Update components/rest/BodyParametersRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Update components/rest/ParameterRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Update components/rest/ParameterRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Update components/rest/BodyParametersRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Update components/rest/BodyParametersRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Update components/rest/BodyParametersRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* small changes and adding anchor link to table instead of empty div

* adding name type and description to translation

* adding more translation

* refactor and break out ChildBodyParameterRows

* fix table css

* check

* change the rest parameters table to fixed to show all description

* update name to match

* run prettier

* Update components/rest/RestCodeSamples.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Update components/rest/ChildBodyParametersRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Update components/rest/ChildBodyParametersRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Update components/rest/BodyParametersRows.tsx

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* updating CHildBodyParameterRows

* run prettier

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-03-01 09:39:00 -08:00
2022-01-12 14:46:27 +00:00
2022-02-28 21:50:07 +01:00
2022-03-01 09:39:00 -08:00
2022-02-28 18:30:54 +00:00
2022-02-28 18:30:54 +00:00
2021-08-05 13:10:51 -04:00
2021-07-27 22:06:31 +00:00
2020-09-27 14:10:11 +02:00
2021-07-14 14:35:01 -07:00
2022-02-28 18:30:54 +00:00
2022-02-28 18:30:54 +00:00
2022-02-23 16:23:00 -08:00
2022-02-28 17:10:16 +00:00
2022-02-28 17:10:16 +00:00
2022-02-09 09:37:04 +00:00

GitHub Docs

This repository contains the documentation website code and Markdown source files for docs.github.com.

GitHub's Docs team works on pre-production content in a private repo that regularly syncs with this public repo.

Use the table of contents icon on the top left corner of this document to get to a specific section of this guide quickly.

Contributing

See the contributing guide for detailed instructions on how to get started with our project.

We accept different types of contributions, including some that don't require you to write a single line of code.

On the GitHub Docs site, you can click the make a contribution button to open a pull request for quick fixes like typos, updates, or link fixes.

For more complex contributions, you can open an issue using the most appropriate issue template to describe the changes you'd like to see.

If you're looking for a way to contribute, you can scan through our existing issues for something to work on. When ready, check out Getting Started with Contributing for detailed instructions.

Join us in discussions

We use GitHub Discussions to talk about all sorts of topics related to documentation and this site. For example: if you'd like help troubleshooting a PR, have a great new idea, or want to share something amazing you've learned in our docs, join us in the discussions.

And that's it!

If you're having trouble with your GitHub account, contact Support.

That's how you can easily become a member of the GitHub Documentation community.

READMEs

In addition to the README you're reading right now, this repo includes other READMEs that describe the purpose of each subdirectory in more detail:

License

The GitHub product documentation in the assets, content, and data folders are licensed under a CC-BY license.

All other code in this repository is licensed under the MIT license.

When using the GitHub logos, be sure to follow the GitHub logo guidelines.

Thanks 💜

Thanks for all your contributions and efforts towards improving the GitHub documentation. We thank you being part of our community !

Description
No description provided
Readme CC-BY-4.0 2.2 GiB
Languages
TypeScript 97.7%
SCSS 1.6%
Shell 0.4%
Dockerfile 0.2%
HTML 0.1%