Skip to content

kkimurak/ssl-rules-ja

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoboCup Small Size League rules

English | Japanese

This is the AsciiDoc source for the unofficial Japanese translation of RoboCup Small Size League rules.
The official rules can be found at Official GitHub Repository The legacy version of the rules can be found at here

Build

The rules are automatically built on updates to the master-jp branch and published to Github Pages. There is also a PDF-version.
You must use "allow-uri-read" option because we use the feature, of AsciiDoc, "Include content from URI" to apply translations to built-in attributes (such as "Figure", "Table of Contents", etc.).

Using AsciiDoctor natively

Install AsciiDoctor on your system . Afterwards, build HTML5 version with

# Build the HTML5 version
asciidoctor -a allow-uri-read sslrules.adoc

To build PDF version with Japanese characters, you can use asciidoctor-pdf-cjk-kai_gen_gothic.

# Build the PDF version
asciidoctor-pdf -r asciidoctor-pdf-cjk-kai_gen_gothic -a pdf-style=KaiGenGothicJP -a allow-uri-read sslrules.adoc

Using docker image

If you have Docker installed, you can use the AsciiDoctor image that optimized for Japanese:

# Pull image once
docker pull htakeuchi/docker-asciidoctor-jp
# Build the HTML5 version
docker run -v $PWD:/documents/ htakeuchi/docker-asciidoctor-jp asciidoctor -r asciidoctor-diagram -a allow-uri-read sslrules.adoc
# Build the PDF version
docker run -v $PWD:/documents/ htakeuchi/docker-asciidoctor-jp asciidoctor-pdf -r asciidoctor-diagram -r asciidoctor-pdf-cjk-kai_gen_gothic -a pdf-style=KaiGenGothicJP -a allow-uri-read sslrules.adoc

About

Unofficial Japanese translation of RoboCup Small Size League Rule Book (https://github.com/robocup-ssl/ssl-rules)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 100.0%