{% extends "repo_master.html" %} {% block title %}Docs - {{ repo.name }}{% endblock %} {%block tag %}home{% endblock %} {% block repo %}

Docs

{% if repo_obj and repo_obj.is_empty %}

This repo is brand new!

If you already have a git repo:

      git remote add origin {{ config.get('GIT_URL_SSH') }}:docs/{{ repo.fullname }}.git
      git push -u origin master
    

If you have not created your git repo yet:

      git clone {{ config.get('GIT_URL_SSH') }}:docs/{{ repo.fullname }}.git
      cd {{ repo.name }}
      touch README.rst
      git add README.rst
      git commit -m "Add README file"
      git push -u origin master
    
{% else %}

{{ branchname }}/{% if filename %}{% for file in filename.split('/') %} {% if loop.first %} {% set path = file %} {% else %} {% set path = path + '/' + file %} {% endif %} {% if loop.index != loop.length %}{{ file }}/{% else %}{{ file }}{% endif %} {% endfor %}{% endif %}

{% if tree %}
{% endif %} {% if content %}
{% autoescape false %} {{ content }} {% endautoescape %}
{% endif %} {% endif %} {% endblock %}