๐Ÿ‘ง
Amica
Launch DemoTelegramGitHubTwitter
  • Welcome to Amica!
  • ๐ŸŒธOverview
    • How Amica Works
    • Core Features
    • Amica Life
    • Emotion System
    • Other Features
    • Use Cases
    • Amica vs Other Tools
  • ๐ŸŒณGetting Started
    • Quickstart Guide
    • Installing Amica
    • Next Steps
  • ๐Ÿ—ฃ๏ธConnecting LLMs (Your Core AI Chatbot Model)
    • Using LM Studio
    • Using LLaMA.cpp
    • Using Ollama
    • Using KoboldCpp
    • Using OpenAI
    • Using Oobabooga
    • Using OpenRouter
  • ๐Ÿ”ŠConnecting Speech Options (TTS)
    • Using SpeechT5
    • Using ElevenLabs
    • Using Coqui Local
    • Using Piper
    • Using Alltalk TTS
    • Using Kokoro TTS
    • Using RVC
  • ๐Ÿ‘‚Connecting Microphone Options (STT)
    • Using whisper.cpp
  • ๐Ÿ‘๏ธConnecting Multi-Modal Modules
    • Using LLaVA
  • ๐Ÿ”งOther Guides
    • Using Window.ai
    • Using Moshi (Voice to Voice)
  • ๐ŸงฉPlugin System
    • Plugins Intro
    • Getting Real World News on Amica
  • ๐Ÿ”ŒAPI System
    • External API for Agents
  • ๐ŸŒปTutorials
    • Creating new Avatars
    • Using Custom Assets
  • ๐ŸŒบContributing to Amica
    • Setting up your developer environment
    • Contributing to the Docs
    • Developing Amica
    • Adding Translations
Powered by GitBook
On this page
  • How our docs are structured
  • Making your first contribution
  • Moving or renaming files
  • Syntax
Edit on GitHub
  1. Contributing to Amica

Contributing to the Docs

PreviousSetting up your developer environmentNextDeveloping Amica

Last updated 1 year ago

How our docs are structured

Our docs are centralized inside the docs/ folder of our GitHub repository for amica. These files are synced to GitBook, our documentation publishing tool, which composes them into what users see when they navigate to .

Our gitbook.yaml file determines link redirects and the basic structure of our documentation โ€œtreeโ€. You can find more documentation on this file .

Making your first contribution

There's a few things you'll need to make your first contribution to the docs:

  1. A local copy of the amica Git repository downloaded to your machine. You can find instructions in GitHub's official documentation for .

  2. Some basic knowledge of Git. If one or more users are contributing to the docs at the same time you are, it is likely you will need to resolve merge conflicts on the CLI or in your visual Git tool. GitHub has or you can use a simple, visual Git tool like available for macOS and Windows. a. In case of emergencies, refer to . b. For new learners, the can teach you Git.

  3. Some form of Markdown linter. A linter enforces standards and consistency in your Markdown writing. The industry standard is . A .

Make your changes and open a pull request (PR)

Create a branch to hold your work, change any files you wish to change, save them, then commit them to your branch. Try and keep your branches focused around a specific theme.

If you've moved or renamed files, refer to .

Now push your changes to our remote Git repository hosted on GitHub, then .

Moving or renaming files

When moving or renaming files, special care must be taken to ensure any existing internal and external links continue to work.

First, use git mv when moving files. git mv is a convenience function that ensures Git can track the renaming as a file rename rather than a file deletion and a new file creation.

We also need to change any existing redirects inside gitbook.yaml to point to our new location:

For every file you've renamed or moved, make sure to add a new redirect in gitbook.yaml pointing from its old location to its new location unless you're sure no one externally has linked to it.

Do not change absolute URLs within the same pull request. Absolute URLs are links beginning with https:.

Creating a new section

To create a new section, create a folder and add a README.md file with the contents title and order e.g.

---
order: 2
title: Tutorials
---

Syntax

Our docs are written in the CommonMark specification of Markdown with additional โ€œblocksโ€ provided by GitBook, our documentation publisher.

You'll notice YAML โ€œfront-matterโ€ at the top of each docs page: this tells GitBook how to present our page visually and order it in any given section.

The YAML front-matter looks like this:

---
title: Contributing to the Docs
order: 3
---

Markdown normally expects the first heading of any page to be a top-level, usually the title of the page, e.g. # Contributing to the Docs. However, when we specify the title of the page in the front-matter, start the page without the top-level and begin at the second-level heading, ##, as GitBook will automatically pull in the title for you.

Second, update any internal and external links to point to your moved or renamed file, then update ../gitbook.yaml to redirect visitors to your new location. To illustrate this, here's a visual example of moving our to a new Getting Started section.

You'll also need to find and replace all instances of links within the amica repository to your file. An editor like Visual Studio Code will have a .

Instead, change all the relative URLs inside docs/, , then make a new PR to update these absolute URLs. This is to avoid broken links.

The order should correspond to its position from top to bottom in the sidebar on and the title should be the title of the section as it appears in the sidebar. We like to use a floral-themed emoji to demarcate new sections .

We use the and blocks from GitBook.

GitBook supports a of headings.

๐ŸŒบ
Quickstart guide
find and replace feature
submit your PR
๐ŸŒน
https://docs.heyamica.com
Hint
Tabs
maximum of three levels
https://docs.heyamica.com
at GitBook's website
cloning a Git repository
documentation on resolving merge conflicts using the CLI
Fork
Oh Shit, Git!?!
computer game, Oh my Git!
markdownlint
markdownlint extension is available for Visual Studio Code
open a pull request
Moving or renaming files