GithubHelp home page GithubHelp logo

openra / book Goto Github PK

View Code? Open in Web Editor NEW
20.0 11.0 7.0 4.45 MB

The OpenRA Book for players, modders / game makers, and developers alike!

Home Page: https://www.openra.net/book/

License: Creative Commons Attribution 4.0 International

openra openra-book book manual guide how-to mdbook cc-by

book's People

Contributors

abcdefg30 avatar phrohdoh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

book's Issues

Make the published book accessible on openra.net somewhere

Related Tickets

#1 - Publish book to GitHub Pages via Travis CI
#2 - Create a GitHub Personal Access Token and add it to Travis repository settings as GITHUB_TOKEN

Why

This will make the book accessible as part of openra.net instead of github.io which, in my opinion, signals that it is officially part of the OpenRA project.

Ticket Author's Personal Opinion

I believe https://docs.openra.net/book would be best because we can put other docs (such as how-tos, trait docs, who knows what we'll have in the future) under https://docs.openra.net/ for consistency.

https://docs.openra.net/ could be an index of sorts for OpenRA documentation which would allow for easy discoverability.

How

cc @Baxxster

As far as I know (once #1 and #2 are resolved) the book will be hosted at https://openra.github.io/book.

How this should be done technically I do not know 😢but I'd love to learn if someone is in a teaching me!

Migrate from gitbook to mdbook

Why

The gitbook CLI and self-hosted option is deprecated in favor of Gitbook's (paid) hosted solution.

Pros

mdbook...

  • unlike gitbook, does not target revenue so will remain open and free

  • provides native binaries (via github releases) so we can drop the dependency on the nodejs runtime

  • has 4 built-in themes

Cons

  • as far as I can tell, mdbook does not have a plugin system like gitbook, but this will probably not be an issue for us

Create a format standard

The format standard for this book should be in an in-tree document.

These bullet points are some of the rules I have generally tried to follow so far and believe we should follow going forward. There are undoubtedly more that I can not think of right now.

  • generally 80 columns per line max, with some exceptions:

    • if a single char of punctuation goes over 80 that's fine
    • avoid orphans if at all possible
    • ...
  • links should go at the bottom of the document (see the current README.md as an example)

Create a GitHub Personal Access Token and add it to Travis repository settings as GITHUB_TOKEN

Related Tickets

#1 - Publish book to GitHub Pages via Travis CI

Description / How

Create a Personal Access Token for the orabot GitHub account with the public_repo scope.

Then follow these instructions to add it to the OpenRA/book repo settings on https://travis-ci.org.

Why

This is required by the deploy step of Travis CI to create / push to the specified branch (gh-pages in our case).

Who

@pchote, because they have access to the orabot GitHub account and the OpenRA account on https://travis-ci.org

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.