[libcamera-devel] [PATCH 1/3] Documentation: Remove _static and _templates directory

Laurent Pinchart laurent.pinchart at ideasonboard.com
Thu Dec 13 15:23:25 CET 2018


sphinx only requires those directories to be present because they're
referenced in the configuration file. Remove the references and the
directories.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 Documentation/_static/.keep_empty    | 0
 Documentation/_templates/.keep_empty | 0
 Documentation/conf.py                | 4 ++--
 3 files changed, 2 insertions(+), 2 deletions(-)
 delete mode 100644 Documentation/_static/.keep_empty
 delete mode 100644 Documentation/_templates/.keep_empty

diff --git a/Documentation/_static/.keep_empty b/Documentation/_static/.keep_empty
deleted file mode 100644
index e69de29bb2d1..000000000000
diff --git a/Documentation/_templates/.keep_empty b/Documentation/_templates/.keep_empty
deleted file mode 100644
index e69de29bb2d1..000000000000
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 83d233e51e91..770358198f03 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -42,7 +42,7 @@ extensions = [
 ]
 
 # Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates']
+templates_path = []
 
 # The suffix(es) of source filenames.
 # You can specify multiple suffix as a list of string:
@@ -85,7 +85,7 @@ html_theme = 'alabaster'
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+html_static_path = []
 
 # Custom sidebar templates, must be a dictionary that maps document names
 # to template names.
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list