mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-27 20:06:52 +00:00
update changelog
This commit is contained in:
parent
ddd296a930
commit
3a503c15ec
56
CHANGELOG.md
56
CHANGELOG.md
@ -1,34 +1,42 @@
|
||||
# Changelog / Raiz
|
||||
<h1>Changelog / Raiz</h1>
|
||||
|
||||
All notable changes to ProxMenux will be documented in this file.
|
||||
<p>All notable changes to ProxMenux will be documented in this file.</p>
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/">Keep a Changelog</a>, and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semantic Versioning</a>.</p>
|
||||
|
||||
## [Unreleased]
|
||||
<h2>[Unreleased]</h2>
|
||||
|
||||
### Added
|
||||
- Initial project setup
|
||||
- Basic menu structure
|
||||
- Documentation framework
|
||||
<h3>Added</h3>
|
||||
<ul>
|
||||
<li>Initial project setup</li>
|
||||
<li>Basic menu structure</li>
|
||||
<li>Documentation framework</li>
|
||||
</ul>
|
||||
|
||||
## [0.1.0] - 2023-06-15
|
||||
<h2>[0.1.0] - 2023-06-15</h2>
|
||||
|
||||
### Added
|
||||
- Core functionality for executing shell scripts
|
||||
- Menu-driven interface for script selection
|
||||
- Basic error handling and logging
|
||||
<h3>Added</h3>
|
||||
<ul>
|
||||
<li>Core functionality for executing shell scripts</li>
|
||||
<li>Menu-driven interface for script selection</li>
|
||||
<li>Basic error handling and logging</li>
|
||||
</ul>
|
||||
|
||||
### Changed
|
||||
- Improved script organization with categories
|
||||
<h3>Changed</h3>
|
||||
<ul>
|
||||
<li>Improved script organization with categories</li>
|
||||
</ul>
|
||||
|
||||
### Fixed
|
||||
- Issue with script permissions on certain systems
|
||||
<h3>Fixed</h3>
|
||||
<ul>
|
||||
<li>Issue with script permissions on certain systems</li>
|
||||
</ul>
|
||||
|
||||
## [0.0.1] - 2023-06-01
|
||||
|
||||
### Added
|
||||
- Project initialization
|
||||
- README with basic project description
|
||||
- License file
|
||||
<h2>[0.0.1] - 2023-06-01</h2>
|
||||
|
||||
<h3>Added</h3>
|
||||
<ul>
|
||||
<li>Project initialization</li>
|
||||
<li>README with basic project description</li>
|
||||
<li>License file</li>
|
||||
</ul>
|
||||
|
@ -1,17 +1,11 @@
|
||||
import fs from "fs"
|
||||
import path from "path"
|
||||
import { remark } from "remark"
|
||||
import html from "remark-html"
|
||||
|
||||
async function getChangelog() {
|
||||
const changelogPath = path.join(process.cwd(), "..", "CHANGELOG.md")
|
||||
try {
|
||||
const fileContents = fs.readFileSync(changelogPath, "utf8")
|
||||
|
||||
// Convertir Markdown a HTML
|
||||
const result = await remark().use(html).process(fileContents)
|
||||
|
||||
return result.toString()
|
||||
return fileContents // Ahora el archivo ya es HTML, no necesita conversión
|
||||
} catch (error) {
|
||||
console.error("Error reading changelog file:", error)
|
||||
return "<p>Changelog content not found.</p>"
|
||||
@ -27,7 +21,7 @@ export default async function ChangelogPage() {
|
||||
<h1 className="text-4xl font-bold mb-8">Changelog</h1>
|
||||
<div
|
||||
className="prose prose-lg max-w-none bg-gray-100 p-4 border border-gray-300 rounded-md"
|
||||
dangerouslySetInnerHTML={{ __html: changelogContent }} // Renderizar como HTML
|
||||
dangerouslySetInnerHTML={{ __html: changelogContent }} // Renderiza directamente el HTML
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user