Skip to content

viktec/nethvoice-docs

 
 

Repository files navigation

NethVoice Documentation Website

This website is built using Docusaurus, a modern static website generator.

Contributing guidelines

All contributions to this documentation repository are welcome!

If you'd like to contribute documentation, tutorials, or translations to this repository, please follow the lightweight guidelines below so contributions stay consistent and build cleanly.

  1. Pick a location

    • Add general documentation pages under docs/.
    • Add tutorial-style guides under docs/tutorial/ and use the tutorial template at templates/tutorial.md as a starting point.
    • Add Italian translations under i18n/it/docusaurus-plugin-content-docs/current/ mirroring the English structure.
  2. File and front-matter conventions

    • Use lowercase letters and underscores for filenames and directories (example: export_phonebook.md).
    • Always include meaningful front-matter title: and (when useful) sidebar_position:.
    • Use explicit heading IDs for any headings that may be linked from other pages, e.g. ## Section Title {#section-title}.
  3. Automated translations

    • Create content in English or Italian first, depending on your preference. English is generally preferred.
    • This repository includes an automated translation bot. If your PR changes an existing page or adds a new one, expect the translation system to update the target files automatically. The bot will update the PR translation and ensures that terminology and structure remain consistent across languages.

    For technical details, see the Translation Agent Documentation.

  4. Style and formatting

    • Use standard Markdown supported by Docusaurus. Keep paragraphs concise and use headings to structure pages.
    • Use relative links for internal documents like [Install guide](../install/index.md).
    • Wrap literal values in backticks, and UI button labels in double asterisks (example: Install).
  5. Validation and local checks

    • After adding or editing pages, update heading IDs if needed:
    yarn write-heading-ids --overwrite docs/ docs/user-manual/
    • Build the site locally to detect link/anchor issues and warnings:
    yarn build --locale en
    yarn build --locale it
    • To preview the site locally during authoring, run the dev server:
    yarn run start
    # or Italian preview
    yarn run start --locale it
  6. Avoid committing generated or plan files

    • Do not commit build artifacts from build/.
    • Plan files (for internal planning) belong in plans/ but should not be committed; use them locally when needed.
  7. Checklist before opening a PR

    • File added to the correct directory and named with lowercase + underscores.
    • Front-matter includes a clear title (and sidebar position if relevant).
    • Headings include explicit IDs where cross-linking is needed.
    • Build runs locally without errors.
    • If adding a tutorial, it follows the templates/tutorial.md structure.

If you're unsure about anything, open an issue or contact a documentation maintainer for guidance before opening a PR.

Deployment and Local Development

Installation

yarn install

Local Development

To open the English website locally for development, run:

yarn run start

To open the Italian website locally for development, run:

yarn run start --locale it

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Deployment is automated via GitHub Actions: every time changes are merged into the main branch, the site is rebuilt and deployed to https://docs.nethvoice.com/.

About

NethVoice documentation built with Docusaurus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 60.0%
  • JavaScript 19.7%
  • Shell 10.5%
  • CSS 9.8%