mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-26 06:11:15 +00:00
update
This commit is contained in:
34
web/app/changelog/changelog.md
Normal file
34
web/app/changelog/changelog.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to ProxMenux will be documented in this file.
|
||||
|
||||
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).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- Initial project setup
|
||||
- Basic menu structure
|
||||
- Documentation framework
|
||||
|
||||
## [0.1.0] - 2023-06-15
|
||||
|
||||
### Added
|
||||
- Core functionality for executing shell scripts
|
||||
- Menu-driven interface for script selection
|
||||
- Basic error handling and logging
|
||||
|
||||
### Changed
|
||||
- Improved script organization with categories
|
||||
|
||||
### Fixed
|
||||
- Issue with script permissions on certain systems
|
||||
|
||||
## [0.0.1] - 2023-06-01
|
||||
|
||||
### Added
|
||||
- Project initialization
|
||||
- README with basic project description
|
||||
- License file
|
||||
|
24
web/app/changelog/page.tsx
Normal file
24
web/app/changelog/page.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
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")
|
||||
const fileContents = fs.readFileSync(changelogPath, "utf8")
|
||||
|
||||
const result = await remark().use(html).process(fileContents)
|
||||
return result.toString()
|
||||
}
|
||||
|
||||
export default async function ChangelogPage() {
|
||||
const changelogContent = await getChangelog()
|
||||
|
||||
return (
|
||||
<div className="container mx-auto px-4 py-16 max-w-4xl">
|
||||
<h1 className="text-4xl font-bold mb-8">Changelog</h1>
|
||||
<div className="prose prose-lg dark:prose-invert" dangerouslySetInnerHTML={{ __html: changelogContent }} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user