Skip to content

Commit be8e164

Browse files
committed
Fix .gitignore to allow _site folder and documentation files, add _site folder
1 parent 68ef2dd commit be8e164

File tree

2 files changed

+48
-3
lines changed

2 files changed

+48
-3
lines changed

.gitignore

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ BenchmarkDotNet.Artifacts/
276276
*.rtf
277277
*.odt
278278
*.pages
279-
*.md
280-
*.html
281-
*.htm
279+
# *.md
280+
# *.html
281+
# *.htm
282282
*.xml
283283
*.json
284284
*.csv
@@ -303,6 +303,12 @@ BenchmarkDotNet.Artifacts/
303303
*.otf
304304
*.otm
305305

306+
# Exception for documentation site
307+
!docs/_site/
308+
!docs/_site/**/*
309+
!docs/**/*.md
310+
!docs/**/*.html
311+
306312
# Document upload directories
307313
uploads/
308314
documents/

docs/_site/index.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>SmartRAG Documentation</title>
7+
<meta name="description" content="A powerful and intelligent RAG library for .NET applications">
8+
<link rel="stylesheet" href="assets/main.css">
9+
</head>
10+
<body>
11+
<header class="site-header">
12+
<div class="wrapper">
13+
<h1 class="site-title">SmartRAG Documentation</h1>
14+
</div>
15+
</header>
16+
17+
<main class="site-content">
18+
<div class="wrapper">
19+
<h1>Welcome to SmartRAG</h1>
20+
<p>SmartRAG is a comprehensive .NET library that provides intelligent document processing, embedding generation, and semantic search capabilities.</p>
21+
22+
<h2>Quick Navigation</h2>
23+
<ul>
24+
<li><a href="getting-started.html">Getting Started</a></li>
25+
<li><a href="configuration.html">Configuration</a></li>
26+
<li><a href="api-reference.html">API Reference</a></li>
27+
<li><a href="examples.html">Examples</a></li>
28+
<li><a href="troubleshooting.html">Troubleshooting</a></li>
29+
</ul>
30+
</div>
31+
</main>
32+
33+
<footer class="site-footer">
34+
<div class="wrapper">
35+
<p>&copy; 2025 SmartRAG. Built with ❤️ by Barış Yerlikaya</p>
36+
</div>
37+
</footer>
38+
</body>
39+
</html>

0 commit comments

Comments
 (0)