Browse Source

trying to add readthedocs support

digital 7 years ago
parent
commit
8f762ec490
3 changed files with 99 additions and 8 deletions
  1. 19 4
      docs/html/_sources/index.rst.txt
  2. 19 4
      index.rst
  3. 61 0
      setup.py

+ 19 - 4
docs/html/_sources/index.rst.txt

@@ -1,7 +1,22 @@
-.. BeeWatch documentation master file, created by
-   sphinx-quickstart on Fri Mar 24 15:11:40 2017.
-   You can adapt this file completely to your liking, but it should at least
-   contain the root `toctree` directive.
+.. Note
+    Copyright 2017 Digital
+
+    This file is part of BeeWatch.
+
+    BeeWatch is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BeeWatch is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BeeWatch.  If not, see <http://www.gnu.org/licenses/>.
+
+
 
 Welcome to BeeWatch's documentation!
 ====================================

+ 19 - 4
index.rst

@@ -1,7 +1,22 @@
-.. BeeWatch documentation master file, created by
-   sphinx-quickstart on Fri Mar 24 15:11:40 2017.
-   You can adapt this file completely to your liking, but it should at least
-   contain the root `toctree` directive.
+.. Note
+    Copyright 2017 Digital
+
+    This file is part of BeeWatch.
+
+    BeeWatch is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BeeWatch is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BeeWatch.  If not, see <http://www.gnu.org/licenses/>.
+
+
 
 Welcome to BeeWatch's documentation!
 ====================================

+ 61 - 0
setup.py

@@ -0,0 +1,61 @@
+#!/usr/bin/env python3.5
+# Copyright 2017 Digital
+#
+# This file is part of BeeWatch.
+#
+# BeeWatch is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# BeeWatch is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with BeeWatch.  If not, see <http://www.gnu.org/licenses/>.
+
+"""
+let's try to add support for readthedocs
+"""
+
+import sys,os
+
+if sys.argv[1] == "install":
+    os.system("(cd sphinx;make html)")
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#