Skip to main content

Выпуск GitHub AE сейчас ограничен.

Создание нижнего колонтитула или боковой панели для вики-сайта

Вы можете добавить настраиваемую боковую панель или нижний колонтитул в вики-сайт, чтобы предоставить читателям дополнительную контекстную информацию.

Вики-сайты доступны во внутренних и частных репозиториях при использовании GitHub AE. Вики-сайты доступны в общедоступных репозиториях при использовании GitHub Free и GitHub Free для организаций, а также в общедоступных и частных репозиториях при использовании GitHub Pro, GitHub Team, GitHub Enterprise Cloud и GitHub Enterprise Server.

  1. On your enterprise, navigate to the main page of the repository.

  2. Under your repository name, click Wiki.

    Screenshot of the menu in a repository. The "Wiki" option is outlined in dark orange.

  3. At the bottom of the page, click Add a custom footer.

  4. Use the text editor to type the content you want your footer to have.

  5. In the "Edit message" field, enter a commit message describing the footer you’re adding.

  6. To commit your changes to the wiki, click Save Page.

Creating a sidebar

  1. On your enterprise, navigate to the main page of the repository.

  2. Under your repository name, click Wiki.

    Screenshot of the menu in a repository. The "Wiki" option is outlined in dark orange.

  3. Click Add a custom sidebar on the right side of the page.

  4. Use the text editor to add your page's content.

  5. In the "Edit message" field, enter a commit message describing the sidebar you’re adding.

  6. To commit your changes to the wiki, click Save Page.

If you create a file named _Footer.<extension> or _Sidebar.<extension>, we'll use them to populate the footer and sidebar of your wiki, respectively. Like every other wiki page, the extension you choose for these files determines how we render them.