Skip to content

Commit

Permalink
Merge pull request #32 from robmoss/feature/improve-pull-requests
Browse files Browse the repository at this point in the history
Improve pull requests: additional instructions
  • Loading branch information
robmoss committed Sep 18, 2023
2 parents 3798e2c + db50335 commit aa2a96e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jobs:
run: |
mdbook build
# NOTE: we can only deploy PR previews from the original repository.
# This action fails when the PR originates from a forked repository;
# see https://github.com/rossjrw/pr-preview-action/issues/3 for details.
- name: Deploy preview
if: github.event.pull_request.head.repo.full_name == github.repository
uses: rossjrw/pr-preview-action@v1
with:
force: false
Expand Down
4 changes: 4 additions & 0 deletions src/how-to-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Also check that your text editor **removes trailing whitespace**.
This ensures that each commit will contain only the modified sentences, and makes it easier to inspect the repository history.
```

```admonish tip
When you add a new page, you must also **add the page to the table of contents** in [`src/SUMMARY.md`](https://github.com/robmoss/git-is-my-lab-book/edit/master/src/SUMMARY.md).
```

## Adding tabbed code blocks

You can display multiple code blocks as a tabbed group by enclosing them in a `<div class="tabbed-blocks"> ... </div>` container.
Expand Down

0 comments on commit aa2a96e

Please sign in to comment.