Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable Doc2FAQ changes are recorded here. Version numbers follow semantic versioning; entries describe shipped source functionality and do not imply an external AI service.

## Unreleased

### Fixed

- Show the full build version in the preview heading and footer, populated from `pom.xml` during the Maven build so future releases stay in sync.

## 0.3.1

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ java -jar target/doc2faq-0.3.1.jar --server.port=8081

Then open **http://localhost:8081**. Merging source changes does not update an existing JAR or a running Java process; rebuild and restart to use the fixes. Published JARs must be built from the corresponding release commit.

The preview heading and footer display the full project version from `pom.xml`. Maven fills these values when copying `index.html` into the build; changing the project version and rebuilding updates both labels automatically.

## Using the app

1. Paste your document's text or choose a `.txt`, `.md`, `.pdf`, or `.docx` file.
Expand Down
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,28 @@
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/application*.yml</include>
<include>**/application*.yaml</include>
<include>**/application*.properties</include>
<include>static/index.html</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/application*.yml</exclude>
<exclude>**/application*.yaml</exclude>
<exclude>**/application*.properties</exclude>
<exclude>static/index.html</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<main>
<section class="hero" aria-labelledby="hero-title">
<div>
<p class="eyebrow">DOCUMENT INTELLIGENCE / PREVIEW 0.3</p>
<p class="eyebrow">DOCUMENT INTELLIGENCE / PREVIEW @project.version@</p>
<h1 id="hero-title">Turn long documents into <em>clear answers.</em></h1>
<p class="hero-copy">Extract questions already in your document or turn ordinary sections into source-grounded FAQ suggestions. Review, edit, and export your draft.</p>
<div class="hero-chips" aria-label="Highlights">
Expand Down Expand Up @@ -100,7 +100,7 @@ <h4>Your answers will appear here.</h4>
<p><strong>Good to know.</strong> Both modes use deterministic, source-grounded rules—not an external AI model. Generate Mode suggests questions but cannot understand every document reliably. PDF/Word extraction runs in memory; scanned PDFs need OCR, which is not included. No documents or drafts are intentionally saved on the server. Review every answer before publishing.</p>
</aside>
</main>
<footer class="site-footer"><span>© 2026 Okan Tiktas</span><span>Doc2FAQ · Built for clarity</span></footer>
<footer class="site-footer"><span>© 2026 Okan Tiktas</span><span>Doc2FAQ · v@project.version@ · Built for clarity</span></footer>
</div>
</body>
</html>
Loading