forked from PostgREST/postgrest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Run postgrest-style on docs files
This prevents CI from failing after the merge.
- Loading branch information
1 parent
33c5750
commit a145596
Showing
5 changed files
with
89 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,4 @@ buildPythonPackage rec { | |
homepage = "https://sphinx-tabs.readthedocs.io"; | ||
license = licenses.mit; | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
#!/usr/bin/env python | ||
from livereload import Server, shell | ||
from subprocess import call | ||
|
||
## Build docs at startup | ||
call(['sphinx-build', '-b', 'html', '-a', '-n', '.', '_build']) | ||
call(["sphinx-build", "-b", "html", "-a", "-n", ".", "_build"]) | ||
server = Server() | ||
server.watch('**/*.rst', shell('sphinx-build -b html -a -n . _build')) | ||
server.watch("**/*.rst", shell("sphinx-build -b html -a -n . _build")) | ||
# For custom port and host | ||
# server.serve(root='_build/', host='192.168.1.2') | ||
server.serve(root='_build/') | ||
server.serve(root="_build/") |
Oops, something went wrong.