Skip to content

Commit 72be93d

Browse files
author
Nadim Kobeissi
authored
Merge pull request 0xPolygon#29 from 0xPolygon/nadim/readme-running
Add clarification to README + change project name
2 parents 4e3c648 + d9b23ff commit 72be93d

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Polygon Technical Docs
1+
# Polygon Knowledge Layer
22

3-
Welcome to the Polygon Technical Docs! This documentation is built using [the Material theme for MkDocs](https://squidfunk.github.io/mkdocs-material/). Our goal is to establish a high-quality, curated, and comprehensive "source of truth" for technical knowledge surrounding Polygon's main technology. This includes detailed sections on:
3+
Welcome to the Polygon Knowledge Layer! This documentation is built using [the Material theme for MkDocs](https://squidfunk.github.io/mkdocs-material/). Our goal is to establish a high-quality, curated, and comprehensive "source of truth" for technical knowledge surrounding Polygon's main technology. This includes detailed sections on:
44

55
- Polygon CDK
66
- Polygon zkEVM
@@ -23,7 +23,7 @@ In addition, we include top-level sections for Tools and Tutorials to support de
2323

2424
### Creating a pull request
2525

26-
1. **Pull request**: Once your changes are complete, create a pull request against the main branch of Polygon Technical Docs.
26+
1. **Pull request**: Once your changes are complete, create a pull request against the main branch of Polygon Knowledge Layer.
2727
2. **Review process**: Your pull request will be reviewed by the maintainers. They may request changes or clarifications.
2828
3. **Responsibility**: Contributors are expected to maintain their contributions over time and update them as necessary to ensure continued accuracy and relevance.
2929

@@ -45,12 +45,20 @@ Before running the site locally, you need to have the following installed:
4545

4646
### Setup
4747

48-
1. **Clone repository**: Clone the Polygon Technical Docs repository to your local machine.
48+
1. **Clone repository**: Clone the Polygon Knowledge Layer repository to your local machine.
4949
2. **Create a virtual environment**: Run `virtualenv venv; source venv/bin/activate` in the root directory.
5050
3. **Install dependencies**: Install required Python packages with `pip3 install -r requirements.txt`.
5151

5252
### Running the website
5353

54+
Before running the website, you'll need to first load the Python virtual environment in your current shell. To do this, type the following (depending on your shell):
55+
56+
- **Bash**, **zsh** (most common): `virtualenv venv; source venv/bin/activate`
57+
- **Fish**: `virtualenv venv; source venv/bin/activate.fish`
58+
- **Nu**: `virtualenv venv; source venv/bin/activate.nu`
59+
60+
You only need to do the above once per shell session. Then, pick one of the following:
61+
5462
1. **MkDocs in strict mode**: Use `mkdocs serve --strict` for a production-like environment.
5563
2. **MkDocs in normal mode**: Use `mkdocs serve` for a less strict, more forgiving environment, suitable for debugging.
5664

docs/_site_essentials/stylesheets/extra.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,4 @@ div.flex-figure div.flex-figure-left {
4141
div.flex-figure div.flex-figure-right {
4242
flex-grow: 1;
4343
flex-shrink: 1.5;
44-
}
45-
46-
/*
47-
.md-footer, .md-footer__inner, .md-footer-meta {
48-
background-color: black;
49-
}
50-
*/
51-
52-
.md-footer__inner {
53-
display: none !important;
5444
}

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
site_name: Polygon docs
1+
site_name: Polygon Knowledge Layer
22
site_author: Polygon Labs
33
copyright: Copyright © 2023 Polygon Labs
4-
repo_name: Polygon docs
4+
repo_name: Polygon Knowledge Layer
55
repo_url: https://github.com/0xPolygon/polygon-docs
66
edit_uri: edit/main/docs/
77
#remote_branch: gh-pages

0 commit comments

Comments
 (0)