Browse Source

chore: squash extra whitespace

pull/30/head
decentral1se 1 year ago
parent
commit
bb23a5c3a9
No known key found for this signature in database GPG Key ID: 3789458B3D0C410
  1. 2
      INSTALL.md
  2. 2
      README.md
  3. 2
      octomode.py
  4. 2
      requirements.txt
  5. 2
      settings.py
  6. 2
      templates/default.css
  7. 2
      templates/default.md

2
INSTALL.md

@ -151,4 +151,4 @@ If so, then reload nginx.
`# service nginx reload` `# service nginx reload`
See if it works by visiting <http://192.168.178.58/octomode/>. See if it works by visiting <http://192.168.178.58/octomode/>.

2
README.md

@ -77,4 +77,4 @@ You can simply run *octomode* now with the following command to run it with `gun
## Use octomode locally ## Use octomode locally
It's recommended to use Firefox when working with octomode locally. Chrome or Chromium do not load external etherpads in iframes. It's recommended to use Firefox when working with octomode locally. Chrome or Chromium do not load external etherpads in iframes.

2
octomode.py

@ -193,4 +193,4 @@ def pagedjs(name):
if __name__ == '__main__': if __name__ == '__main__':
APP.debug = True APP.debug = True
APP.env = "development" APP.env = "development"
APP.run(host="0.0.0.0", port=APP.config["PORTNUMBER"], threaded=True) APP.run(host="0.0.0.0", port=APP.config["PORTNUMBER"], threaded=True)

2
requirements.txt

@ -15,4 +15,4 @@ pypandoc==1.7.2
typing-extensions==4.0.1 typing-extensions==4.0.1
urllib3==1.26.8 urllib3==1.26.8
zipp==3.7.0 zipp==3.7.0
python-dotenv==0.21.0 python-dotenv==0.21.0

2
settings.py

@ -15,4 +15,4 @@ PAD_API_KEY = os.environ.get('OCTOMODE_PAD_API_KEY', '')
if not PAD_API_KEY or PAD_API_KEY == "XXX": if not PAD_API_KEY or PAD_API_KEY == "XXX":
print("error: you must provide a value for OCTOMODE_PAD_API_KEY") print("error: you must provide a value for OCTOMODE_PAD_API_KEY")
print("error: e.g. export OCTOMODE_PAD_API_KEY=...") print("error: e.g. export OCTOMODE_PAD_API_KEY=...")
exit(1) exit(1)

2
templates/default.css

@ -32,4 +32,4 @@ section#cover h1#title{
section#main pre{ section#main pre{
color: magenta; color: magenta;
} }

2
templates/default.md

@ -76,4 +76,4 @@ Preview the page in the HTML view.
Render it on pages in the PDF view. Render it on pages in the PDF view.
``` ```
</section> </section>

Loading…
Cancel
Save