diff --git a/pagure/templates/docs.html b/pagure/templates/docs.html index 1393d81..f9ba528 100644 --- a/pagure/templates/docs.html +++ b/pagure/templates/docs.html @@ -6,90 +6,15 @@ {% 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 %} -
- {{ content |safe }} -
- {% endif %} - - - -{% endif %} + {% endblock %}