File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ name: Publish Document
22
33on :
44 workflow_dispatch : # Allows manual trigger from GitHub UI
5+ push :
6+ branches : [master] # or master
7+ schedule :
8+ - cron : ' 0 0 * * *'
59
610permissions :
711 contents : write
@@ -21,12 +25,17 @@ jobs:
2125 sudo pip3 install -U pygments==2.17.2 pymdown-extensions==10.14.3
2226 sudo pip3 install mkdocs-exclude==1.0.2
2327 sudo pip3 install mkdocs-material==9.6.8
24- sudo pip3 install jieba==0.42.1
28+ sudo pip3 install python-frontmatter GitPython requests
2529
2630 - name : Audit dependencies
2731 run : |
2832 sudo pip3 install pip-audit==2.10.0
2933 pip-audit
34+
35+ - name : Sync TRON TIPs
36+ env :
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38+ run : python3 scripts/sync_tips.py
3039
3140 - name : Build the document
3241 run : mkdocs build
File renamed without changes.
Load diff This file was deleted.
Original file line number Diff line number Diff line change 3131 - 账户权限管理 : mechanism-algorithm/multi-signatures.md
3232 - java-tron开发 :
3333 - 开发者指南 : developers/java-tron.md
34- - TIPs工作流程 : developers/tips.md
34+ - TIPs工作流程 : developers/tips-workflow.md
35+ - TIPs : developers/tips/
3536 - Issue工作流程 : developers/issue-workflow.md
3637 - 治理流程 : developers/governance.md
3738 - 配置IDE开发环境 : developers/run-in-idea.md
@@ -61,6 +62,10 @@ theme:
6162 - search.suggest # 搜索时显示建议
6263 - content.code.annotate # 代码块注释
6364 - content.tooltips # 内容中的工具提示
65+ - navigation.tabs
66+ - content.tabs.link
67+ - content.code.copy
68+ - tags
6469 palette :
6570 primary : custom # 主色调
6671 accent : custom # 强调色
7176extra_javascript :
7277 - javascripts/toc.js
7378 - javascripts/nav-toc.js
74- - javascripts/ mathjax-sri.js
79+ - ' https://cdnjs.cloudflare.com/ajax/libs/ mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML '
7580
7681extra_css :
7782 - stylesheets/extra.css
@@ -87,6 +92,9 @@ markdown_extensions:
8792 - pymdownx.tilde
8893 - pymdownx.tasklist
8994 - pymdownx.superfences
95+ - tables
96+ - attr_list
97+ - md_in_html
9098
9199plugins :
92100 - search :
@@ -105,4 +113,6 @@ plugins:
105113 - introduction/overview.md
106114 - mechanism-algorithm/shielded-TRC20-contract.md
107115 - mechanism-algorithm/trc10.md
116+ - search
117+ - tags
108118
You can’t perform that action at this time.
0 commit comments