forked from ebpf-io/ebpf.io-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Anchors for Contribute page, clean up README (ebpf-io#113)
* Update README Fix typos and improve readability. Add the eBPF logo at the top. * Add anchors to the Contribute page. Reuse the TitleWithAnchor, and the CSS from the project page. Just adjust the vertical margin, as the titles on the Contribute page do not have the same padding.
- Loading branch information
Showing
3 changed files
with
32 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,33 @@ | ||
[](https://creativecommons.org/licenses/by/4.0/) | ||
|
||
[](https://ebpf.io) | ||
|
||
# ebpf.io Website | ||
|
||
This is the source code for the website [ebpf.io](https://www.ebpf.io). For more information, see the [contribute](https://ebpf.io/contribute) page. | ||
This is the source code for the website [ebpf.io](https://ebpf.io). | ||
For more information, see the [contribute](https://ebpf.io/contribute) page. | ||
|
||
## How to contribute | ||
|
||
1. Clone the repo | ||
2. yarn install | ||
3. yarn run develop | ||
4. open http://localhost:8000 | ||
5. make changes in: pages/index.js for landing page, or posts/ folder for blog posts | ||
6. everytime you save, localhost:8000 will auto-reload with new preview | ||
7. commit all your new changes to a branch, and submit the PR | ||
|
||
2. `yarn install` | ||
3. `yarn run develop` | ||
4. Open http://localhost:8000 in your browser | ||
5. Make changes in: src/pages/index.en.js for landing page, or posts/ folder | ||
for blog posts | ||
6. Everytime you save, localhost:8000 will auto-reload with a new preview | ||
7. Commit all your changes to a branch, and submit the PR | ||
|
||
## Local development | ||
|
||
You can use `-p` to set the custom port and `-H` to set the custom host like beblow. Find more from [gatsbyjs document](https://www.gatsbyjs.com/docs/gatsby-cli/) | ||
You can use `-p` to set the custom port and `-H` to set the custom host like | ||
below. Find more from | ||
[Gatsby's documentation](https://www.gatsbyjs.com/docs/gatsby-cli/). | ||
|
||
```bash | ||
yarn run develop -p 8080 -H 0.0.0.0 | ||
``` | ||
|
||
## Contact | ||
|
||
Open an issue, or better yet, reach out on [Slack](https://ebpf.io/slack/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters