From 2f653b31accf3899fa5cfcf7b9a232df7784532b Mon Sep 17 00:00:00 2001 From: JayPiKay Date: Sat, 19 Oct 2019 14:53:45 +0200 Subject: [PATCH] Directory structure refactoring --- .gitignore | 3 +++ Makefile | 4 ++-- {source => doc/source}/SuperBeam.RequestHandlers.rst | 0 {source => doc/source}/SuperBeam.rst | 0 {source => doc/source}/conf.py | 2 +- {source => doc/source}/index.rst | 0 {source => doc/source}/sbeam.rst | 0 make.bat | 4 ++-- 8 files changed, 8 insertions(+), 5 deletions(-) rename {source => doc/source}/SuperBeam.RequestHandlers.rst (100%) rename {source => doc/source}/SuperBeam.rst (100%) rename {source => doc/source}/conf.py (98%) rename {source => doc/source}/index.rst (100%) rename {source => doc/source}/sbeam.rst (100%) diff --git a/.gitignore b/.gitignore index 34d312f..ccd87b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ *.pyc *.egg-info +.python-version + +doc/ build/ dist/ venv/ diff --git a/Makefile b/Makefile index d0c3cbf..ecb8d0a 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ # from the environment for the first two. SPHINXOPTS ?= SPHINXBUILD ?= sphinx-build -SOURCEDIR = source -BUILDDIR = build +SOURCEDIR = doc/source +BUILDDIR = doc # Put it first so that "make" without argument is like "make help". help: diff --git a/source/SuperBeam.RequestHandlers.rst b/doc/source/SuperBeam.RequestHandlers.rst similarity index 100% rename from source/SuperBeam.RequestHandlers.rst rename to doc/source/SuperBeam.RequestHandlers.rst diff --git a/source/SuperBeam.rst b/doc/source/SuperBeam.rst similarity index 100% rename from source/SuperBeam.rst rename to doc/source/SuperBeam.rst diff --git a/source/conf.py b/doc/source/conf.py similarity index 98% rename from source/conf.py rename to doc/source/conf.py index 48e60b6..b8c1267 100644 --- a/source/conf.py +++ b/doc/source/conf.py @@ -12,7 +12,7 @@ # import os import sys -sys.path.insert(0, os.path.abspath('../src')) +sys.path.insert(0, os.path.abspath('../../src')) # -- Project information ----------------------------------------------------- diff --git a/source/index.rst b/doc/source/index.rst similarity index 100% rename from source/index.rst rename to doc/source/index.rst diff --git a/source/sbeam.rst b/doc/source/sbeam.rst similarity index 100% rename from source/sbeam.rst rename to doc/source/sbeam.rst diff --git a/make.bat b/make.bat index 6247f7e..9a4f94b 100644 --- a/make.bat +++ b/make.bat @@ -7,8 +7,8 @@ REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) -set SOURCEDIR=source -set BUILDDIR=build +set SOURCEDIR=doc\source +set BUILDDIR=doc if "%1" == "" goto help