开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
master
分支 (17)
标签 (62)
master
davidBar-On-issue-812-835-control-connection-keepalive
formatting_changes
gh-pages
kleinweby-output-json-stream
bmah-jira-testing
issue-1597
update_release_docs
update_readme_security_email
mt-rebase
dev/bmah/manpage-const-fixes
tos_patch_638
bbr2-testing
3.2-STABLE
issue-569
3.1-STABLE
3.0-STABLE
3.17.1
3.17
3.16
3.16-beta1
iperf-3.15-mt-beta1
3.15
3.14
3.13-mt-beta3
3.13-mt-beta2
3.13-mt1
3.13
3.12
3.11
3.10.1
3.10
3.9
3.8.1
3.8
3.7
3.6
master
分支 (17)
标签 (62)
master
davidBar-On-issue-812-835-control-connection-keepalive
formatting_changes
gh-pages
kleinweby-output-json-stream
bmah-jira-testing
issue-1597
update_release_docs
update_readme_security_email
mt-rebase
dev/bmah/manpage-const-fixes
tos_patch_638
bbr2-testing
3.2-STABLE
issue-569
3.1-STABLE
3.0-STABLE
3.17.1
3.17
3.16
3.16-beta1
iperf-3.15-mt-beta1
3.15
3.14
3.13-mt-beta3
3.13-mt-beta2
3.13-mt1
3.13
3.12
3.11
3.10.1
3.10
3.9
3.8.1
3.8
3.7
3.6
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
master
分支 (17)
标签 (62)
master
davidBar-On-issue-812-835-control-connection-keepalive
formatting_changes
gh-pages
kleinweby-output-json-stream
bmah-jira-testing
issue-1597
update_release_docs
update_readme_security_email
mt-rebase
dev/bmah/manpage-const-fixes
tos_patch_638
bbr2-testing
3.2-STABLE
issue-569
3.1-STABLE
3.0-STABLE
3.17.1
3.17
3.16
3.16-beta1
iperf-3.15-mt-beta1
3.15
3.14
3.13-mt-beta3
3.13-mt-beta2
3.13-mt1
3.13
3.12
3.11
3.10.1
3.10
3.9
3.8.1
3.8
3.7
3.6
iperf
/
docs
/
_esnet
贡献代码
同步代码
对比差异 通过 Pull Request 同步
同步更新到分支
通过 Pull Request 同步
将会在向当前分支创建一个 Pull
Request,合入后将完成同步
File empty ...
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

esnet-gh-pages-base

Base templates for ESnet's GitHub pages. These pages are created using the sphinx-bootstrap-theme with some pages. This repo is meant to be included into a project using git subtree and provides the overrides and customizations to the base theme.

Installation

  1. Install Sphinx and sphinx-bootstrap-theme. See the instructions below for installing these either using the Mac OS X base system python or MacPorts.
  2. cd $PROJECT_ROOT
  3. mkdir docs
  4. git subtree add --prefix docs/_esnet https://github.com/esnet/esnet-gh-pages-base.git master --squash
  5. cd docs
  6. sphinx-quickstart
  7. ln -s ../_esnet/static _static/esnet
  8. edit conf.py as described in the next section

Editing conf.py

sphinx-quickstart creates a basic conf.py file, however to use the ESnet theme we need to make some changes. Make the following changes to conf.py:

# add this with the imports at the top of the file
import sphinx_bootstrap_theme

# change templates_path to this
templates_path = ['_esnet/templates']

# add _esnet to exclude_patterns
exclude_patterns = ['_build', '_esnet']

# change html_theme and html_theme_path:
html_theme = 'bootstrap'
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()

# add html_theme options:
html_theme_options = {
 "navbar_pagenav": False,
 "nosidebar": False,
 "navbar_class": "navbar",
 "navbar_site_name": "Section",
 "source_link_position": "footer",
 "navbar_links": [
 ("Index", "genindex"),
 ("ESnet", "https://www.es.net", True),
 ],
}

# add html_logo and html_sidebars
html_logo = "_esnet/static/logo-esnet-ball-sm.png"
html_sidebars = {'index': None, 'search': None, '*': ['localtoc.html']}
html_favicon = "_esnet/static/favicon.ico"
html_context = {
 "github_url": "https://github.com/esnet/PROJNAME",
}

That's it!

Sphinx Installation using Mac OS X Base Python

  1. sudo /usr/bin/easy_install pip
  2. sudo /usr/local/bin/pip install sphinx sphinx-bootstrap-theme

Sphinx Installation using MacPorts

  1. port install python27 py27-pip py27-sphinx
  2. port select pip py27-pip
  3. port select sphinx py27-sphinx
  4. pip install sphinx sphinx-bootstrap-theme # make sure this is /opt/local/bin/pip

Creating Content, Previewing and Publishing

The files are in the docs directory. Take a look at the content of index.rst. Take a look at the docs from other projects and review the documentation for Building HTML

In the docs directory run make clean html.

Previewing the site

open _build/html/index.html

or

open -a /Application/Google\ Chrome.app _build/html/index.html

Publishing the site

From the docs directory run _esnet/deploy.sh. It will be visible at: http://github.com/esnet/PROJECT.

举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

fork from https://github.com/esnet/iperf
暂无标签
README
MIT
使用 MIT 开源许可协议
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/source-code-sync/iperf.git
git@gitee.com:source-code-sync/iperf.git
source-code-sync
iperf
iperf
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /