Official documentation for M3U Editor - A full-featured IPTV playlist manager.
Built with Docusaurus.
npm installnpm startThis starts a local development server and opens a browser window. Most changes are reflected live without restarting.
npm run buildGenerates static content into the build directory for deployment.
Edit docusaurus.config.js:
const config = {
title: 'M3U Editor',
tagline: 'Your tagline here',
url: 'https://your-domain.com',
baseUrl: '/',
organizationName: 'your-github-username',
projectName: 'your-repo-name',
// ...
};Edit sidebars.js to customize the documentation sidebar:
const sidebars = {
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
};-
Create a new markdown file in the appropriate directory:
docs/advanced/new-feature.md
-
Add frontmatter:
--- sidebar_position: 3 description: Description of this page tags: - Advanced - Feature title: New Feature --- # New Feature Your content here...
-
Preview locally:
npm start
Place images in static/img/:
Use syntax highlighting:
```bash
docker-compose up -d
```
```javascript
const config = {
// your config
};
```Edit src/css/custom.css for custom styles:
:root {
--ifm-color-primary: #your-color;
}Create React components in src/components/:
// src/components/MyComponent.jsx
export default function MyComponent() {
return <div>Custom component</div>;
}Use in markdown:
import MyComponent from '@site/src/components/MyComponent';
<MyComponent />Key dependencies:
- Docusaurus: Static site generator
- React: UI framework
- MDX: Markdown with JSX support
Clear cache and rebuild:
npm run clear
npm run buildChange the port:
npm start -- --port 3001Check for broken links:
npm run buildDocusaurus will fail the build if there are broken links (configured with onBrokenLinks: 'throw').
Documentation licensed under CC BY-NC-SA 4.0.
M3U Editor is licensed under CC BY-NC-SA 4.0.
- Main Project: https://github.com/sparkison/m3u-editor
- Documentation: https://sparkison.github.io/m3u-editor-docs-v2/
- Discord: https://discord.gg/rS3abJ5dz7
- Issues: https://github.com/sparkison/m3u-editor/issues
- Join our Discord for help and discussions
- Report documentation issues in this repository
- Report M3U Editor bugs in the main repository