Skip to content

Commit e9419f5

Browse files
committed
2 parents d193805 + ad04b86 commit e9419f5

File tree

4 files changed

+27
-9
lines changed

4 files changed

+27
-9
lines changed

doc/dokieli.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
# dokieli
1+
# Dokieli
22

33
```{raw} html
44
<script src="https://dokie.li/scripts/dokieli.js"></script>
55
<link media="all" rel="stylesheet" type="text/css" href="https://dokie.li/media/css/dokieli.css" />
66
```
77

8+
Dokieli is an open source comments and annotation engine that follows web standards and allows you to have full control over where your comments are aggregated and who has access.
9+
10+
Dokieli is activated on this page. You can see the web overlay by clicking on the hamburger menu in the upper-right corner of this page.
811

912
## Activate `dokie.li`
1013

doc/hypothesis.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Hypothesis
22

3-
test
4-
53
```{raw} html
64
<script async="async" src="https://hypothes.is/embed.js"></script>
75
```
86

7+
Hypothesis is a centralized web services that allows you to comment and annotate arbitrary web pages across the web.
8+
9+
Hypothesis is activated on this page. You can see the web overlay by clicking on the `<` button in the upper-right corner of this page.
10+
911
## Activate `hypothes.is`
1012

1113
You can activate `hypothes.is` by adding the following to your `conf.py` file:
@@ -18,4 +20,4 @@ comments_config = {
1820

1921
This will add a [hypothes.is overlay](https://web.hypothes.is/) to your documentation. This extension simply activates the hypothes.is javascript bundle on your Sphinx site. This will cause the hypothes.is overlay to be shown, allowing your readers to log-in and comment on your documentation if they have questions.
2022

21-
When you build your documentation, you will see the hypothes.is overlay to the right of your screen.
23+
When you build your documentation, you will see the hypothes.is overlay to the right of your screen.

doc/index.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ Currently, these commenting engines are supported:
88
- [utteranc.es](https://utteranc.es/) is a web commenting system that uses GitHub Issues to store and manage comments.
99
- [`dokie.li`](https://dokie.li/) is an open source commenting and annotation overlay built on web standards.
1010

11+
For examples of each service, as well as instructions for how to activate it,
12+
click on the links to the left.
13+
1114
## Installation
1215

1316
Clone and install the github reposiory
1417

1518
```bash
16-
git clone https://github.com/choldgraf/sphinx-comments
17-
cd sphinx-comments
18-
pip install -e .
19+
pip install git+https://github.com/choldgraf/sphinx-comments
1920
```
2021

2122
Next, activate the extension by adding it to your `conf.py` file:
@@ -27,7 +28,15 @@ html_extensions = [
2728
]
2829
```
2930

31+
## Configuration
32+
33+
To configure `sphinx-comments` (and to choose the engine you'd like to use),
34+
you should configure the `comments_config` dictionary in `conf.py`. Instructions
35+
for doing so can be found in the page for each of the supported engines below.
36+
3037
```{toctree}
38+
:caption: Supported engines
39+
:maxdepth: 2
3140
hypothesis
3241
dokieli
3342
utterances

doc/utterances.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Utterance
1+
# Utterances
2+
3+
Utterances is a commenting engine built on top of GitHub issues. It embeds a comment box in your page that users (with a GitHub account) can use to ask questions. These become comments in a GitHub issue in a repository of your choice.
4+
5+
Utterances is activated on this page. You can see the comment box at the bottom of the page's content. Click the "log in" button and you'll be able to post comments!
26

37
## Activate `utteranc.es`
48

@@ -33,4 +37,4 @@ When you build your documentation, pages will now have a comment box at the bott
3337
label="💬 comment"
3438
crossorigin="anonymous"
3539
/>
36-
```
40+
```

0 commit comments

Comments
 (0)