From f3373d08c74e36b2161e1f4e4eef6aa7197352e0 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Fri, 7 Nov 2025 04:44:30 +0530 Subject: docs: Add HTML documentation generator and improve documentation structure - Add html_docs/ directory with Python-based documentation generator - Include custom CSS styling for modern, clean documentation layout - Update README.md with improved formatting and documentation links - Enhance markdown documentation across all docs/ files: - Improve API documentation with better code examples - Refactor DOCUMENTATION_INDEX.md for clearer navigation - Update EMBEDDING.md, CUSTOMIZATION.md, and other guides - Standardize formatting and improve readability throughout - Fix inconsistent line endings and formatting issues The HTML documentation generator creates a styled, browsable version of the project documentation for easier reading and navigation. --- html_docs/style.css | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 html_docs/style.css (limited to 'html_docs/style.css') diff --git a/html_docs/style.css b/html_docs/style.css new file mode 100644 index 0000000..1c0aa20 --- /dev/null +++ b/html_docs/style.css @@ -0,0 +1,136 @@ +/* ReiLua Documentation - Lua Manual Style */ + +body { + font-family: Helvetica, Arial, sans-serif; + line-height: 1.6; + color: #000000; + background-color: #FFFFFF; + margin: 0; + padding: 0; +} + +.container { + max-width: 800px; + margin: 0 auto; + padding: 20px; +} + +h1 { + font-size: 24px; + font-weight: normal; + margin: 20px 0 10px 0; + color: #000080; + border-bottom: 1px solid #000080; + padding-bottom: 5px; +} + +h2 { + font-size: 20px; + font-weight: normal; + margin: 20px 0 10px 0; + color: #000080; +} + +h3 { + font-size: 16px; + font-weight: bold; + margin: 15px 0 10px 0; +} + +.navigation { + font-size: 12px; + margin: 10px 0; + padding: 10px; + background-color: #F0F0F0; + border: 1px solid #D0D0D0; +} + +.navigation a { + color: #000080; + text-decoration: none; + margin: 0 5px; +} + +.navigation a:hover { + text-decoration: underline; +} + +a { + color: #000080; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +p { + margin: 10px 0; + text-align: justify; +} + +code, tt { + font-family: "Courier New", Courier, monospace; + font-size: 13px; + background-color: #F5F5F5; + padding: 1px 4px; +} + +pre { + font-family: "Courier New", Courier, monospace; + font-size: 13px; + background-color: #F5F5F5; + border: 1px solid #D0D0D0; + padding: 10px; + overflow-x: auto; + margin: 10px 0; +} + +.apii { + font-family: "Courier New", Courier, monospace; + margin: 15px 0 5px 0; + padding: 8px; + background-color: #F0F0F0; + border-left: 3px solid #000080; +} + +.apii code { + background-color: transparent; + font-weight: bold; +} + +.apidesc { + margin: 5px 0 15px 20px; +} + +ul, ol { + margin: 10px 0; + padding-left: 30px; +} + +table { + border-collapse: collapse; + margin: 10px 0; + width: 100%; +} + +th { + background-color: #F0F0F0; + border: 1px solid #D0D0D0; + padding: 8px; + text-align: left; +} + +td { + border: 1px solid #D0D0D0; + padding: 8px; +} + +.footer { + margin-top: 40px; + padding-top: 10px; + border-top: 1px solid #D0D0D0; + font-size: 11px; + color: #666; + text-align: center; +} -- cgit v1.2.3