Tag System in Rhyla Documentation

Understanding Tag System in Rhyla Documentation

Rhyla Documentation provides a powerful tag system that helps you organize and identify the status and type of API endpoints or documentation sections. This system makes it easier to navigate through complex documentation and quickly understand the context of each entry.

Tag Types

HTTP Method Tags

These tags are automatically applied based on the prefix in your file names:

Light Theme

GET POST PUT DELETE PATCH PATH

Dark Theme

GET POST PUT DELETE PATCH PATH

File naming pattern: method-name.md

GET Example:
get-users.md

Displays as: GET users

POST Example:
post-login.md

Displays as: POST login

PUT Example:
put-update_user.md

Displays as: PUT update user

DELETE Example:
delete-user.md

Displays as: DELETE user

Post Tags

Post tags are added at the end of the filename with a hyphen and help indicate the status or version of a particular endpoint or feature:

Light Theme

Dark Theme

New Feature Example:
post-login-new.md

Displays as: POST login

Version Example:
get-users-v1.md

Displays as: GET users

Deprecated Example:
post-auth-dep.md

Displays as: POST auth

Combined Example:
configuration-v1.0.0.md

Displays as: configuration

How to Use Tags in Your Documentation

Naming Conventions

To leverage the tag system, follow these naming patterns for your documentation files:

  1. HTTP Method + Name:
    get-users.md, post-login.md
  2. HTTP Method + Name + Version:
    get-users-v1.md, post-login-v2.md
  3. HTTP Method + Name + Status:
    get-users-new.md, post-login-dep.md
  4. Name + Status/Version (without HTTP Method):
    database-v2.md, configuration-new.md

Tag Display Rules

Example Sidebar Structure:

📁 Root
├── GET users
├── POST login 
├── database 
└── 📁 Authentication
    ├── POST token
    ├── | oauth 
    └── | flows

Best Practices

By leveraging Rhyla's tag system, you can create documentation that is both visually appealing and easier to navigate, helping users quickly find the information they need.