diff --git a/index.html b/index.html index 4b69aeb..fb634c9 100644 --- a/index.html +++ b/index.html @@ -25,12 +25,8 @@ -
-

Notes

- +
+
Loading documentation...
@@ -479,6 +475,20 @@ container.innerHTML = '

Error loading services.xml — see console for details.

'; } })(); + + // Fetch and render README.md + (async function loadReadme(){ + try { + const response = await fetch('/README.md', {cache: 'no-cache'}); + if(!response.ok) throw new Error('README not found'); + const markdown = await response.text(); + const html = marked.parse(markdown); + document.getElementById('readme-content').innerHTML = html; + } catch(err) { + console.error('Error loading README:', err); + document.getElementById('readme-content').innerHTML = '

Documentation unavailable.

'; + } + })();