Creating Documents
Overview
Documents are the core of DocsHub. Each document contains content in Markdown format and can be organized within folders.
Creating a New Document
Via Admin Panel
- Go to Content Management
- Click New Document
- Fill in the following fields:
Required Fields
- Title: Document title
- Path: URL path (e.g., /getting-started/installation)
- Content: Markdown content
- Folder: Parent folder
Optional Fields
- SEO Title: Custom title for search engines
- SEO Description: Meta description
- Display Order: Position in folder
- Display Sidebar: Show in navigation menu
Document Status
Published
Document is visible to all users.
Draft
Document is saved but not visible to users.
Archived
Document is hidden but kept for history.
Multi-language Support
Create translations for your documents:
- Go to document details
- Click Add Language
- Select target language
- Enter translated content
- Save
Best Practices
- Use clear, descriptive titles
- Organize hierarchically
- Update regularly
- Use consistent formatting
- Include navigation links
- Optimize for SEO
- Version your content