mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-03 19:30:09 +00:00
When Obj-C is selected on this page, the bottom half of the documentation is missing. When Swift is selected, malformed content appears where the documentation is nested inside the code block. Repro'd here in Safari and Chrome: http://texturegroup.org/docs/containers-asnodecontroller.html I think the bug is that <PhotoCellNode> is being parsed as an HTML tag, and this should fix it.
Texture Documentation
We use Jekyll to build the site using Markdown and host it on Github Pages.
Dependencies
Github Pages uses Jekyll to host a site and Jekyll has the following dependencies.
Mac OS X comes pre-installed with Ruby, but you may need to update RubyGems (via gem update --system
).
Once you have RubyGems, use it to install bundler.
$ gem install bundler
$ cd gh-pages # Go to folder
$ bundle install # Might need sudo.
Run Jekyll Locally
Use Jekyll to serve the website locally (by default, at http://localhost:4000
):
$ bundle exec jekyll serve [--incremental]
$ open http://localhost:4000/
For more, see https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/