diff --git a/.editorconfig b/.editorconfig index 3200c88..1891401 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,7 +9,3 @@ indent_style = tab [*.{html,js,json,md,sass,yaml}] indent_style = space indent_size = 2 - -[*.py] -indent_style = space -indent_size = 4 diff --git a/assets/sass/style.sass b/assets/sass/style.sass index 99d182e..e018424 100644 --- a/assets/sass/style.sass +++ b/assets/sass/style.sass @@ -171,6 +171,9 @@ $colors: mergeColorMaps(("secondary": ($secondary, $white), "twitter-blue": ($tw max-height: 5rem .content + .button + margin: 1rem 0 + @for $i from 1 through 6 h#{$i} &::before diff --git a/content/contribute.md b/content/contribute.md new file mode 100644 index 0000000..c03aa44 --- /dev/null +++ b/content/contribute.md @@ -0,0 +1,31 @@ +--- +title: Contributing to gRPC +--- + +To contribute to gRPC documentation, please fork the [gRPC repository on GitHub](https://github.com/grpc/grpc.io) and start submitting pull requests. + +## Contribute guidelines for gRPC + +We welcome contributions to any of our three core repositories: + +* [gRPC](https://github.com/grpc/grpc) +* [gRPC Java](https://github.com/grpc/grpc-java) +* [gRPC Go](https://github.com/grpc/grpc-go) + +{{< button text="View guidelines" url="https://github.com/grpc/grpc/blob/master/CONTRIBUTING.md" >}} + +## Contribution guidelines for the gRPC Ecosystem + +The [gRPC Ecosystem](https://github.com/grpc-ecosystem/) is a different organization where we collect and curate valuable integrations of other projects with gRPC. You can propose a new project for it by filling out the **Propose new project** form. + +{{< button text="View guidelines" url="https://github.com/grpc/grpc-contrib/blob/master/CONTRIBUTING.md" >}} + +## Edit our site on GitHub + +Click the below button to visit the repo for our site. You can then click the "Fork" button in the upper-right area of the screen to create a copy of our site on your GitHub account called a "fork." Make any changes you want in your fork, and when you are ready to send those changes to us, go to the index page for your fork and click **New Pull Request** to let us know about it. + +{{< button text="Browse this site's source code" url="https://github.com/grpc/grpc.io" >}} + +## Being a member of the gRPC organization on github + +Being an organization member is not required for the vast majority of the contributions. Membership is required for certain administrative tasks such as accepting a pull request, or closing issues. If you wish to be part of the gRPC organization on github, please [get in touch with us](/community). Please note that in order to be part of the organization, your GitHub account needs to have [two-factor authentication enabled](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/). diff --git a/content/contribute/index.html b/content/contribute/index.html deleted file mode 100644 index 1ad6805..0000000 --- a/content/contribute/index.html +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: Contribute ---- -
-
- - To contribute to gRPC documentation, please fork the GitHub gRPC repository  and start submitting pull requests. - -
-

Contribution guidelines for gRPC

- -

We welcome contributions to either of our three core repositories. gRPC, gRPC Java and gRPC Go.

- - - -
- -
-

Contribution guidelines for gRPC Ecosystem

- -

gRPC Ecosystem is a different organization where we collect and curate valuable integrations of other projects with gRPC. You can propose a new project for it by filling up the Propose new project form.

- - - - -
-

Edit our site on github

- -

Click the below button to visit the repo for our site. You can then click the "Fork" button in the upper-right area of the screen to create a copy of our site on your GitHub account called a "fork." Make any changes you want in your fork, and when you are ready to send those changes to us, go to the index page for your fork and click "New Pull Request" to let us know about it.

- - -
- -
-

Being a member of the gRPC organization on github

- -

Being an organization member is not required for the vast majority of the contributions. Membership is required for certain administrative tasks such as accepting a pull request, or closing issues. If you wish to be part of the gRPC organization on github, please get in touch with us. Please note that in order to be part of the organization, your github account needs to have two factor security enabled.

- -
-

-

-

-
-
-
- diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html new file mode 100644 index 0000000..32581c0 --- /dev/null +++ b/layouts/shortcodes/button.html @@ -0,0 +1,11 @@ +{{ $text := .Get "text" }} +{{ $url := .Get "url" }} +{{ $isExternal := hasPrefix $url "http" }} + + + + + + {{ $text }} + + \ No newline at end of file