在文档构建过程中真的需要Internet连接吗?

时间:2019-05-23 08:02:47

标签: read-the-docs

我在没有任何互联网连接的服务器上安装了readthedocs。

我从https://github.com/rtfd/readthedocs.org.git获取了readthedocs代码,并按照此处https://docs.readthedocs.io/en/stable/install.html的说明进行了安装。

现在,我正尝试从git存储库手动导入我的第一个文档,如此处记录的:https://docs.readthedocs.io/en/stable/intro/import-guide.html

但是,构建因错误而失败:

che/pip Pygments==2.3.1 setuptools<41 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<0.6
Collecting Pygments==2.3.1
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f57aca971d0>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pygments/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f57aca970f0>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pygments/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f57aca974a8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pygments/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f57aca97518>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pygments/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f57aca97a90>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pygments/
  Could not find a version that satisfies the requirement Pygments==2.3.1 (from versions: )
No matching distribution found for Pygments==2.3.1 

在构建阶段,点子安装似乎需要进入Internet来安装一些软件包。 这一步真的是“必须”吗?我的服务器处于隔离状态(没有互联网连接),所以我想跳过它。

欢迎任何建议。

吉安。

0 个答案:

没有答案