Pēteris Caune
c940239757
Improve type hints in the pygmentize management command
2024-05-01 11:34:39 +03:00
Pēteris Caune
1aec03dfc6
Improve type hints in management commands
2023-10-18 16:15:01 +03:00
Pēteris Caune
792cc59bef
Fix lint issues
2023-07-12 10:29:55 +03:00
Pēteris Caune
f6a04d2256
Fix lint issues
2023-07-12 10:07:14 +03:00
Pēteris Caune
fb58a50301
Exclude "apiv2" from docs search
2023-07-08 10:54:55 +03:00
Pēteris Caune
c184f5ca42
Fix populate_searchdb to use ".html-fragment" file suffix
...
(and update it to use pathlib)
2023-06-07 16:43:12 +03:00
Pēteris Caune
4a72519c71
Update settings.BASE_DIR usage sites to use pathlib
2023-06-07 16:36:19 +03:00
Pēteris Caune
b9996e63c8
Fix django-compressor warning with github_actions.html
...
HTML files in /templates/docs/ are not Django templates,
they contain HTML content to be used verbatim in
hc.front.views.serve_doc view.
Some of these files contain "{{ ... }}" syntax. When
we run "./manage.py compress", django-compressor trips
up on this syntax because it treats them as Django templates.
The fix is to change file extension for these files
from .html to something else (I picked .html-fragment)
so django-compressor would ignore them.
2023-04-11 20:34:31 +03:00
Pēteris Caune
f5f05b0589
Exclude the "Management API v1" page from docs search
2022-12-20 10:38:10 +02:00
Pēteris Caune
4863dda6c3
Add /api/v2/ which reports check's status slightly differently
...
cc: #633
2022-12-19 22:31:38 +02:00
Pēteris Caune
c26dbc96f5
Refactor render_docs to support multiple docs directories
2022-10-28 12:05:01 +03:00
Pēteris Caune
161430fb10
Sort imports and add "from __future__ import annotations"
2022-10-17 16:52:15 +03:00
Pēteris Caune
7ac1437c8a
Switch from "trigram" to "porter unicode61" tokenizer
...
The trigram tokenizer seems to give better results, but is not
available on the SQLite version that ships with Ubuntu 20.04.
2022-08-22 12:51:53 +03:00
Pēteris Caune
5d5e469347
Implement documentation search
2022-08-22 11:56:02 +03:00
Pēteris Caune
b3f2bc64a5
Improve "Show Usage Examples" dialog, "Email" tab
2022-06-30 10:22:46 +03:00
Pēteris Caune
556e8c67c5
Syntax highlighting for PHP examples.
2020-07-17 19:55:11 +03:00
Pēteris Caune
dab0c4200e
API reference in Markdown
2020-03-02 13:37:29 +02:00
Pēteris Caune
82d61335b0
The "render_docs" command checks if markdown and pygments is installed. cc: #329
2020-02-14 10:14:29 +02:00
Pēteris Caune
50c8c153ea
Documentation in Markdown.
2020-01-23 16:04:15 +02:00
Pēteris Caune
6cd4e494e8
Add go example to "manage.py pygmentize" command.
...
Make sure the Go snippet shows up in the welcome page and also in the check details page.
2019-10-07 15:10:36 +03:00
Pēteris Caune
96c2cdbbb8
More information about read-only API keys in API docs.
2019-07-08 11:35:20 +03:00
Pēteris Caune
cdfc9840a7
Source formatted with Black
2019-05-15 14:27:50 +03:00
Pēteris Caune
eb4e579a71
Update docs with the "/start" endpoint.
2018-12-25 17:39:40 +02:00
Pēteris Caune
d36d4fb543
Additional python usage examples
2018-11-29 11:11:44 +02:00
Pēteris Caune
a7061fe6a5
Add "Get a List of Existing Integrations" API call
2018-11-21 20:21:04 +02:00
Pēteris Caune
fdbe733df3
C# usage example. Fixes #127
2018-08-20 12:39:57 +03:00
Pēteris Caune
464d05c99f
"Signalling a Failure" section in docs. (cc: #151 )
2018-05-31 14:28:28 +03:00
Pēteris Caune
6bc3a445db
Update usage examples, add Ruby. Fixes #158
2018-03-13 12:18:32 +02:00
Pēteris Caune
23b237ed96
API call for deleting checks.
2017-09-12 13:33:12 +03:00
Pēteris Caune
148e85783c
Updated PowerShell example.
2017-08-12 19:00:42 +03:00
Pēteris Caune
20b046cba7
API call for updating checks
2017-02-19 13:46:05 +02:00
Pēteris Caune
fa63c9034e
Merge pull request #91 from cdax/make-mgmt-command-modules
...
Make modules out of management commands by adding __init__.py files
2016-10-01 17:55:46 +03:00
Chitharanjan Das
4d7cca0408
Make modules out of management commands by adding __init__.py files
2016-10-01 11:18:32 +05:30
Chitharanjan Das
4e260421f0
Adds 'copy to clipboard' function to example code snippets
2016-10-01 10:27:48 +05:30
Pēteris Caune
51cda31449
New feature: pause monitoring of an individual check. Fixes #67
2016-08-01 21:57:11 +03:00
Pēteris Caune
e55650c781
Syntax highlighting for API examples.
2016-04-14 15:01:41 +03:00
Pēteris Caune
144cf0da90
pygmentize management command needs to be run rarely, and only during development. Remove Pygments from requirements.txt
2016-02-16 16:38:18 +02:00
Pēteris Caune
0cf4e5c9df
PowerShell example on Welcome page.
2015-12-11 19:18:44 +02:00
Pēteris Caune
911b28026a
More content on welcome page, more alternatives in docs. Rename "Grace Period" to "Grace Time"
2015-07-27 23:25:06 +03:00
Pēteris Caune
18b3427a82
Syntax highlighting for snippets.
2015-07-01 19:55:59 +03:00