sails-docs

The source markdown files for the official Sails.js documentation, which gets compiled, squeezed, and stretched into HTML when we deploy the Sails website. (Latest v1.x docs are now on master!)

  • 所有者: balderdashy/sails-docs
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Squiddy reads the docs

Sails.js Documentation

The official documentation for the current stable release of Sails is on the master branch of this repository. Content for most sections on the official Sails website is compiled from here.

In other languages

The documentation for Sails has been translated to a number of different languages. The list below is a reference of the translation projects we are aware of., Language, IETF Language Tag, Version, Maintainer(s), Repo, ----------------------------, -------, -------, ------------------, ----------------------------------, Japanese, ja, v0.11.x, @kory-yhg, sails-docs-ja, Spanish, es, v0.12.x, @eduartua & @alejandronanez, sails-docs-es, Brazilian Portuguese, pt-BR, v1.0.x, @Avlye, sails-docs-pt-BR, v0.10.x, @marceloboeira, sails-docs-pt-BR, Taiwanese Mandarin, zh-TW, v0.10.x, @CalvertYang, sails-docs-zh-TW, Korean, ko, v0.10.x, @sapsaldog, sails-docs-ko, Chinese, zh-cn, v0.12.x, @linxiaowu66, sails-docs-zh-cn, French, fr, v0.12.x, @marrouchi, sails-docs-fr

Since we are now using branches to keep track of different versions of the Sails documentation, we are moving away from the original approach of using branches for different languages. Before embarking on a new translation project, we ask that you review the updated information below-- the process has changed a little bit.

Contributing to the Sails docs

We welcome your help! Please send a pull request to master with corrections/additions and they'll be double-checked and merged as soon as possible.

Secondly, we are open to suggestions about the process we're using to manage our documentation, and to work with the community in general. Please post to the Google Group with your ideas- or if you're interested in helping directly, contact @fancydoilies, @rudeboot, or @mikermcneil on Twitter.

What branch should I edit?

To make an edit that is relevant for the latest stable version of Sails (i.e. the version on NPM), you'll want to edit the master branch of this repo (what you see in the sails-docs repo by default). The Sails core team merges master into the appropriate branch for the latest stable release of Sails, and then deploys that to sailsjs.com about once per week.

How are these docs compiled and pushed to the website?

We use a module called doc-templater to convert the .md files to the html for the website. You can learn more about how it works in the doc-templater repo.

Each .md file has its own page on the website (i.e. all reference, concepts, and anatomy files), and should include a special <docmeta name="displayName"> tag with a value property specifying the title for the page. This will impact how the doc page appears in search engine results, and it will also be used as its display name in the navigation menu on sailsjs.com. For example:

<docmeta name="displayName" value="Building Custom Homemade Puddings">

When will my change appear on the Sails website?

Documentation changes go live when they are merged onto a special branch corresponding with the current stable version of Sails (e.g. 0.12). We cannot merge pull requests sent directly to this branch-- its sole purpose is to reflect the content currently hosted on sailsjs.com, and content is only merged just before redeploying the sails website.

If you want to see how documentation changes will appear on sailsjs.com, you can visit preview.sailsjs.com. The preview site updates itself automatically as changes are merged into the master branch of sails-docs.

How can I help translate the documentation?

A great way to help the Sails project, especially if you speak a language other than English natively, is to volunteer to translate the Sails documentation. If you are interested in collaborating with any of the translation projects listed in the table above, contact the maintainer of the translation project using the instructions in the README of that fork.

If your language is not represented in the table above, and you are interested in beginning a translation project, follow these steps:

  • Fork this repo (balderdashy/sails-docs) and change the name of your fork to be sails-docs-{{IETF}} where {{IETF}} is the IETF language tag for your language.
  • Edit the README to summarize your progress so far, provide any other information you think would be helpful for others reading your translation, and let interested contributors know how to contact you.
  • Send a pull request editing the table above to add a link to your fork.
  • When you are satisfied with the first complete version of your translation, open an issue and someone from our docs team will be happy to help you get preview it in the context of the Sails website, get it live on a domain (yours, or a subdomain of sailsjs.com, whichever makes the most sense), and share it with the rest of the Sails community.

How else can I help?

For more information on contributing to Sails in general, see the Contribution Guide.

License

MIT

The Sails framework is free and open-source under the MIT License.

(And the files in this repo are too.)

主要指標

概覽
名稱與所有者balderdashy/sails-docs
主編程語言
編程語言 (語言數: 0)
平台
許可證
所有者活动
創建於2013-06-20 18:51:20
推送於2021-01-09 21:12:36
最后一次提交2020-11-25 22:40:36
發布數3
最新版本名稱see-sails-repo (發布於 )
第一版名稱v0.12.4 (發布於 )
用户参与
星數776
關注者數65
派生數741
提交數6.8k
已啟用問題?
問題數0
打開的問題數0
拉請求數808
打開的拉請求數56
關閉的拉請求數132
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?