BigW Consortium Gitlab

api.html.haml 3.13 KB
Newer Older
Dmitriy Zaporozhets committed
1 2 3
= render layout: 'help/layout' do
  %h3.page_title API
  %br
randx committed
4

Dmitriy Zaporozhets committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
  %ul.nav.nav-tabs.log-tabs.nav-small-tabs
    %li.active
      = link_to "README", "#README", 'data-toggle' => 'tab'
    %li
      = link_to "Projects", "#projects", 'data-toggle' => 'tab'
    %li
      = link_to "Snippets", "#snippets", 'data-toggle' => 'tab'
    %li
      = link_to "Repositories", "#repositories", 'data-toggle' => 'tab'
    %li
      = link_to "Users", "#users", 'data-toggle' => 'tab'
    %li
      = link_to "Session", "#session", 'data-toggle' => 'tab'
    %li
      = link_to "Issues", "#issues", 'data-toggle' => 'tab'
    %li
      = link_to "Milestones", "#milestones", 'data-toggle' => 'tab'
    %li
      = link_to "Notes", "#notes", 'data-toggle' => 'tab'
24 25
    %li
      = link_to "System Hooks", "#system_hooks", 'data-toggle' => 'tab'
26

Dmitriy Zaporozhets committed
27 28 29 30 31 32 33 34 35
  .tab-content
    .tab-pane.active#README
      .file_holder
        .file_title
          %i.icon-file
          README
        .file_content.wiki
          = preserve do
            = markdown File.read(Rails.root.join("doc", "api", "README.md"))
36

Dmitriy Zaporozhets committed
37 38 39 40 41 42 43 44
    .tab-pane#projects
      .file_holder
        .file_title
          %i.icon-file
          Projects
        .file_content.wiki
          = preserve do
            = markdown File.read(Rails.root.join("doc", "api", "projects.md"))
45

Dmitriy Zaporozhets committed
46 47 48 49 50 51 52 53
    .tab-pane#snippets
      .file_holder
        .file_title
          %i.icon-file
          Projects Snippets
        .file_content.wiki
          = preserve do
            = markdown File.read(Rails.root.join("doc", "api", "snippets.md"))
54

Dmitriy Zaporozhets committed
55 56 57 58 59 60 61 62
    .tab-pane#repositories
      .file_holder
        .file_title
          %i.icon-file
          Projects
        .file_content.wiki
          = preserve do
            = markdown File.read(Rails.root.join("doc", "api", "repositories.md"))
63

Dmitriy Zaporozhets committed
64 65 66 67 68 69 70 71
    .tab-pane#users
      .file_holder
        .file_title
          %i.icon-file
          Users
        .file_content.wiki
          = preserve do
            = markdown File.read(Rails.root.join("doc", "api", "users.md"))
72

Dmitriy Zaporozhets committed
73 74 75 76 77 78 79 80
    .tab-pane#session
      .file_holder
        .file_title
          %i.icon-file
          Session
        .file_content.wiki
          = preserve do
            = markdown File.read(Rails.root.join("doc", "api", "session.md"))
81

Dmitriy Zaporozhets committed
82 83 84 85 86 87 88 89
    .tab-pane#issues
      .file_holder
        .file_title
          %i.icon-file
          Issues
        .file_content.wiki
          = preserve do
            = markdown File.read(Rails.root.join("doc", "api", "issues.md"))
90

Dmitriy Zaporozhets committed
91 92 93 94 95 96 97 98
    .tab-pane#milestones
      .file_holder
        .file_title
          %i.icon-file
          Milestones
        .file_content.wiki
          = preserve do
            = markdown File.read(Rails.root.join("doc", "api", "milestones.md"))
Nihad Abbasov committed
99

Dmitriy Zaporozhets committed
100 101 102 103 104 105 106 107
    .tab-pane#notes
      .file_holder
        .file_title
          %i.icon-file
          Notes
        .file_content.wiki
          = preserve do
            = markdown File.read(Rails.root.join("doc", "api", "notes.md"))
108 109 110 111 112 113 114 115 116

    .tab-pane#system_hooks
      .file_holder
        .file_title
          %i.icon-file
          System Hooks
        .file_content.wiki
          = preserve do
            = markdown File.read(Rails.root.join("doc", "api", "system_hooks.md"))