Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation for the go module era #9751

Merged
merged 12 commits into from
Jan 29, 2020
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-Authored-By: Antoine GIRARD <[email protected]>
Co-Authored-By: Bagas Sanjaya <[email protected]>
  • Loading branch information
3 people committed Jan 15, 2020
commit b0cf9772c84794eee0cc9d1d2a11ddeb0aa78d93
5 changes: 1 addition & 4 deletions docs/content/doc/advanced/hacking-on-gitea.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ The recommended method of obtaining the source code is by using `git clone`.

```bash
# from within your src directory
zeripath marked this conversation as resolved.
Show resolved Hide resolved
cd "$HOME"/src
git clone https://github.com/go-gitea/gitea
```

Expand All @@ -69,7 +68,6 @@ and either switch the git remote origin for your fork or add your fork as anothe

```bash
# Rename original Gitea origin to upstream
cd "$HOME/src/gitea"
git remote rename origin upstream
git remote add origin "[email protected]:$GITHUB_USERNAME/gitea.git"
git fetch --all --prune
Expand All @@ -79,7 +77,6 @@ or:

```bash
# Add new remote for our fork
cd "$HOME/src/gitea"
git remote add "$FORK_NAME" "[email protected]:$GITHUB_USERNAME/gitea.git"
git fetch --all --prune
```
Expand Down Expand Up @@ -256,7 +253,7 @@ Documentation for the website is found in `docs/`. If you change this you
can test your changes to ensure that they pass continuous integration using:

```bash
cd "$HOME/src/gitea/docs"
# from the docs directory within Gitea
make trans-copy clean build
```

Expand Down
1 change: 0 additions & 1 deletion docs/content/doc/installation/from-source.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ gitea built from within the GOPATH.

```bash
# From within your src directory
zeripath marked this conversation as resolved.
Show resolved Hide resolved
cd "$HOME"/src
git clone https://github.com/go-gitea/gitea
sapk marked this conversation as resolved.
Show resolved Hide resolved
```

Expand Down