Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add exclude_patterns for conf.py.in #879

Merged
merged 1 commit into from
Dec 14, 2016
Merged

add exclude_patterns for conf.py.in #879

merged 1 commit into from
Dec 14, 2016

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Dec 14, 2016

  1. 在conf.py.in中增加exclude_patterns=['**/*_en*', '*_en*']。由于这里的规则和正则表达式的有所不同,*_en*只能识别当前路径下的_en文件,不能识别所有路径下的_en文件,即不能识别/;所以再用**/*_en*'来识别所有子路径下的_en文件。
  2. 对生成的文件进行exclude_patterns过滤后,ref指定不需要区别中英文,因此把所有的后缀名去掉了。
  3. 在cmake/FindSphinx.cmake中,对index_en(cn).html软连接到index.html。原因是:linkchecker 对每个子页面,都会检查类似 ../../index.html的路径。没有index.html页面,会报错。

@luotao1 luotao1 requested a review from reyoung December 14, 2016 06:04
Copy link
Collaborator

@reyoung reyoung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@reyoung reyoung merged commit 140edd2 into PaddlePaddle:develop Dec 14, 2016
@luotao1 luotao1 deleted the build branch December 14, 2016 07:18
zhhsplendid pushed a commit to zhhsplendid/Paddle that referenced this pull request Sep 25, 2019
* routine_update_commitid_0601

* routine_update_commitid_0601_2
wangxicoding pushed a commit to wangxicoding/Paddle that referenced this pull request Dec 9, 2021
* update cmake

* rm python deps when on_infer is no

* refine encoder code
lizexu123 pushed a commit to lizexu123/Paddle that referenced this pull request Feb 23, 2024
* refine distillation

* up

* add test

* fix coverage

* fix unit test error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants