diff --git a/CHANGELOG.md b/CHANGELOG.md index a956b74..e0c3fd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 81a62fd..0001ba9 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/pom.xml b/pom.xml index f97f562..c501070 100644 --- a/pom.xml +++ b/pom.xml @@ -48,6 +48,28 @@ + + + ${basedir}/src/main/resources + true + + **/application*.yml + **/application*.yaml + **/application*.properties + static/index.html + + + + ${basedir}/src/main/resources + false + + **/application*.yml + **/application*.yaml + **/application*.properties + static/index.html + + + org.springframework.boot diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index c013976..264e141 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -22,7 +22,7 @@
-

DOCUMENT INTELLIGENCE / PREVIEW 0.3

+

DOCUMENT INTELLIGENCE / PREVIEW @project.version@

Turn long documents into clear answers.

Extract questions already in your document or turn ordinary sections into source-grounded FAQ suggestions. Review, edit, and export your draft.

@@ -100,7 +100,7 @@

Your answers will appear here.

Good to know. 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.

-
© 2026 Okan TiktasDoc2FAQ · Built for clarity
+