Giter Site home page Giter Site logo

jorgecoa / tagtog-doc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adi1607/tagtog-doc

1.0 1.0 0.0 28.65 MB

πŸƒ Documentation, for tagtog: The text annotation tool to train AI

Home Page: https://www.tagtog.net/

HTML 40.38% Dockerfile 1.02% Ruby 1.33% CSS 4.38% JavaScript 17.25% Shell 0.57% Python 13.13% SCSS 21.94%

tagtog-doc's Introduction

Repo containing the official documentation for πŸƒtagtog.

The latest stable documentation is hosted at docs.tagtog.net.

Issues

Please report any issues here or contact us at [email protected]

Do you want to contribute?

Clone the repo

git clone https://github.com/tagtog/tagtog-doc.git
cd tagtog-doc

Run the documentation locally

With Ruby (2.5)

Just run:

./dev.sh

With docker

NOTE: live reloading might not work

Just run:

./docker-dev.sh

Add new pages

  1. Create a markdown .md file and add the frontmatter.

    ---
    layout: page
    title: Multi-user annotation
    sidebar_link: true
    id: collaboration
    ---

    Choose an id and a title. Change the flag sidebar_link appropriately if you want a link to appear in the sidebar.

  2. If the item is to appear in the side bar, add it to the _config.yml var sidebar_toc.

  3. Follow the style guide below.

Style guide

Documentation theme is based on https://fongandrew.github.io/hydeout/

Layout

The documentation content is displayed in a two columns layout. You are free to decide when to use these columns. You can use a single column design (two-third-column) or a two-columns design (two-third-column and one-third-column).

<div class="two-third-column">
  Main content
</div>
<div class="one-third-column">
  Display messages, figures, etc.
</div>

Right column messages

Use messages only on the right column of the layout one-third-column. Display tips, tricks and other interesting stuff.

Template message.html:

{% include message.html message="your tips and tricks"%}

Lists

Ordered lists

Combine CSS classes numbered-item and number-x, where x is the order in the list. Currently the style is limited to the first 6 items. You decide the values for the ordered list, it can be numbers (1,2,3 ...), letters (A, B, C ...), etc. You can choose the order (e.g. 3, 2, 1).

<p class="numbered-item"><span class="number-1">1</span>Description 1.</p>
<p class="numbered-item"><span class="number-2">2</span>Description 2.</p>
<p class="numbered-item"><span class="number-3">3</span>Description 3.</p>

Unordered lists

Combine CSS classes list-item and list-item-x, where x is the order in the list. Currently the style is limited to the first 6 items.

<p class="list-item"><span class="list-item-1"></span>Description.</p>
<p class="list-item"><span class="list-item-2"></span>Description.</p>
<p class="list-item"><span class="list-item-3"></span>Description.</p>

Images

Regular images

Use it to display images. Optionally you can set the width and the caption.

Template image.html:

{% include image.html name="editor-import.png" caption="Upload box where you can select how to import text" %}

Inline images

Use it to display an image within the text. You can optionally set the width to adjust the size of the image.

Template inline-image.html:

{% include inline-image.html name="image-inline.png" width="70" %}

tagtog features not yet ready

To mention tagtog features that will be ready soon or have been temporarily disabled, use the CSS class soon. The content will be faded

<div class="soon">
  Text streams coming soon
</div>

Mix Markdown and HTML

<div markdown="1">
  Your markdown
</div>

Emojis

You can use https://gist.github.com/rxaviers/7360908 , e.g. :bookmark_tabs: πŸ“‘

tagtog-doc's People

Contributors

ashish-narwal avatar dependabot[bot] avatar jorgecoa avatar juanmirocks avatar paulmwatson avatar skimac avatar uxioandrade avatar waldemar-tagtog avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.