The documentation for Plume, available at docs.joinplu.me.
Uses middleman.
- Ruby
- Crowdin CLI v3 if you build translations
- Netlify CLI if you deploy
Install RubyGems including middleman:
bundle config set --local path vendor/bundle
bundle installRun
bundle exec middleman, visit http://localhost:4567/, and then you can see documentation site.
Edit files under source directory and reload your browser, then you see updated content. But this site doesn't include translations. If you want to include translated pages, see next section.
After editing, create a pull request.
If you want to build site with translations, you need set up Crowdin CLI.
Run
bundle exec rake build_siteand then the site with translations is built under build directory. You can see the site using one-liner server such as
ruby -run -e httpd buildor web server such as Caddy.
When you add and/or modify strings from current sources, you may want to translate them. To do so, updated contents need to be uploaded to Crowdin. Run
bundle exec rake crowdin:uploadthen you can translate strings at Crowdin.
When you build site for https://translate.docs.joinplu.me/, run
bundle exec rake build_transthen the site is built under translate directory.
You need Netlify CLI if you deploy site.
Run
bundle exec rake deploy
then you can see updated site at https://docs.joinplu.me/.
Run
bundle exec rake deploy_transand then you can see updated translation site at https://translate.docs.joinplu.me/.