diff --git a/.github/workflows/deploy_github_pages.yml b/.github/workflows/deploy_github_pages.yml index 1ea96b80..65103447 100644 --- a/.github/workflows/deploy_github_pages.yml +++ b/.github/workflows/deploy_github_pages.yml @@ -32,7 +32,6 @@ jobs: - name: Checkout github_docs uses: actions/checkout@v4.1.1 with: - ssh-key: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} ref: github_docs path: github_docs diff --git a/.github/workflows/sync_gitee.yml b/.github/workflows/sync_gitee.yml deleted file mode 100644 index 33abfa22..00000000 --- a/.github/workflows/sync_gitee.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: sync_gitee -on: - schedule: - - cron: "0 12 * * *" - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: Sync to gitee.com - uses: wearerequired/git-mirror-action@v1.2.0 - env: - SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} - with: - source-repo: git@github.com:FeignClaims/question_board.git - destination-repo: git@gitee.com:cpp_tutorial/board.git \ No newline at end of file diff --git a/_static/gitee_icon.js b/_static/gitee_icon.js deleted file mode 100644 index 1c013af0..00000000 --- a/_static/gitee_icon.js +++ /dev/null @@ -1,13 +0,0 @@ -FontAwesome.library.add( - (faListOldStyle = { - prefix: "fa-custom", - iconName: "gitee", - icon: [ - 24, // viewBox width - 24, // viewBox height - [], // ligature - "e001", // unicode codepoint - private use area - "M11.984 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.016 0zm6.09 5.333c.328 0 .593.266.592.593v1.482a.594.594 0 0 1-.593.592H9.777c-.982 0-1.778.796-1.778 1.778v5.63c0 .327.266.592.593.592h5.63c.982 0 1.778-.796 1.778-1.778v-.296a.593.593 0 0 0-.592-.593h-4.15a.592.592 0 0 1-.592-.592v-1.482a.593.593 0 0 1 .593-.592h6.815c.327 0 .593.265.593.592v3.408a4 4 0 0 1-4 4H5.926a.593.593 0 0 1-.593-.593V9.778a4.444 4.444 0 0 1 4.445-4.444h8.296Z", - ], - }) -); \ No newline at end of file diff --git a/_static/links.rst b/_static/links.rst index ec1bcf1c..ca290330 100644 --- a/_static/links.rst +++ b/_static/links.rst @@ -3,7 +3,6 @@ .. _`FeignClaims/cpp_conan_template`: https://www.github.com/FeignClaims/cpp_conan_template/ .. _`FeignClaims/customized_conan_recipes`: https://www.github.com/FeignClaims/customized_conan_recipes/ .. _`cpp_tutorial/question`: https://gitee.com/cpp_tutorial/question -.. _`cpp_tutorial/board`: https://gitee.com/cpp_tutorial/board .. _`为天鹅书第二版制作的学习项目文件 (解压以使用)`: https://gitlab.com/FeignClaims/vscode_cpp_starter_resource/-/raw/main/ppp2_novice.zip?ref_type=heads .. _`为天鹅书第三版制作的学习项目文件 (解压以使用)`: https://gitlab.com/FeignClaims/vscode_cpp_starter_resource/-/raw/main/ppp3_novice.zip?ref_type=heads .. _`Git: 通过官网下载`: https://git-scm.com/download/win @@ -28,7 +27,7 @@ .. _`《辩证法唯物论(讲授提纲)》`: https://www.marxists.org/chinese/maozedong/1937/index.htm .. _`Bjarne Stroustrup's Homepage`: https://www.stroustrup.com/programming.html .. _`Bjarne Stroustrup's C++ Glossary`: https://www.stroustrup.com/glossary.html -.. _`《Sixteen Ways to Stack a Cat》by Bjarne Stroustup`: https://gitee.com/cpp_tutorial/weekly_question/raw/master/src/extra/16%E7%A7%8D%E6%96%B9%E5%BC%8F%E6%8A%8A%E4%B8%80%E5%8F%AA%E7%8C%AB%E6%94%BE%E5%85%A5%E6%A0%88%E4%B8%AD.pdf +.. _`《Sixteen Ways to Stack a Cat》by Bjarne Stroustup`: https://www.stroustrup.com/stack_cat.pdf .. _`《The C++ Standard Library》补充章节`: http://www.cppstdlib.com/cppstdlib_supplementary.pdf .. _`《Efficient Programming with Components》`: https://www.jmeiners.com/efficient-programming-with-components/index.html .. _`Modern CMake for C++: 代码`: https://github.com/PacktPublishing/Modern-CMake-for-Cpp diff --git a/conf.py b/conf.py index 3afacd1a..61e50f17 100644 --- a/conf.py +++ b/conf.py @@ -67,11 +67,6 @@ "name": "GitHub", "url": "https://github.com/FeignClaims/question_board", "icon": "fa-brands fa-github", - }, - { - "name": "Gitee", - "url": "https://gitee.com/cpp_tutorial/board", - "icon": "fa-custom fa-gitee", } ], "use_sidenotes": True, @@ -103,4 +98,3 @@ def setup(app): app.add_css_file("theme.css") - app.add_js_file("gitee_icon.js") diff --git a/cpp/main.rst b/cpp/main.rst index 17dfa747..f0bfc953 100644 --- a/cpp/main.rst +++ b/cpp/main.rst @@ -203,7 +203,7 @@ C++ 环境配置 :class: seealso, dropdown - :doc:`/faq/range_iterator_and_algorithm/main` - - `STL "简" 述 (摘自《C++标准库(第 2 版) 》by Nicolai Josuttis `_ + - - `105 STL Algorithms in Less Than an Hour - Jonathan Boccara - CppCon 2018`_ - `动态规划 入门 `_ - `动态规划 套路 `_