From c888063d7dc2f679af3e2cc48e0e03dbc4e53bb7 Mon Sep 17 00:00:00 2001 From: Lewis Tunstall Date: Thu, 11 Jan 2024 23:19:34 +1100 Subject: [PATCH 1/5] Make docs work --- .github/workflows/upload_pr_documentation.yml | 1 + chapters/en/_toctree.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upload_pr_documentation.yml b/.github/workflows/upload_pr_documentation.yml index d80d92c3..4807837f 100644 --- a/.github/workflows/upload_pr_documentation.yml +++ b/.github/workflows/upload_pr_documentation.yml @@ -11,6 +11,7 @@ jobs: uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main with: package_name: alignment-handbook + hub_base_path: https://moon-ci-docs.huggingface.co secrets: hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }} comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }} \ No newline at end of file diff --git a/chapters/en/_toctree.yml b/chapters/en/_toctree.yml index e8fc7c0a..021a92d4 100644 --- a/chapters/en/_toctree.yml +++ b/chapters/en/_toctree.yml @@ -1,4 +1,4 @@ -- title: Unit 0. Welcome to the RLHF Handbook! +- title: Unit 0. Welcome to the Alignment Handbook! sections: - local: chapter0/introduction title: What is this about? \ No newline at end of file From aa88249d254ac7a5215361564533abf77e436102 Mon Sep 17 00:00:00 2001 From: Lewis Tunstall Date: Fri, 12 Jan 2024 08:53:05 +1100 Subject: [PATCH 2/5] Fix docs --- .github/workflows/upload_pr_documentation.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/upload_pr_documentation.yml b/.github/workflows/upload_pr_documentation.yml index 4807837f..d80d92c3 100644 --- a/.github/workflows/upload_pr_documentation.yml +++ b/.github/workflows/upload_pr_documentation.yml @@ -11,7 +11,6 @@ jobs: uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main with: package_name: alignment-handbook - hub_base_path: https://moon-ci-docs.huggingface.co secrets: hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }} comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }} \ No newline at end of file From c7d658b9bf7521b1cd1ef9119a10c3195e891e9c Mon Sep 17 00:00:00 2001 From: Lewis Tunstall Date: Fri, 12 Jan 2024 09:06:11 +1100 Subject: [PATCH 3/5] Fix docs --- chapters/en/chapter0/introduction.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/en/chapter0/introduction.mdx b/chapters/en/chapter0/introduction.mdx index 26f500f4..b0851d64 100644 --- a/chapters/en/chapter0/introduction.mdx +++ b/chapters/en/chapter0/introduction.mdx @@ -1,3 +1,3 @@ -# Welcome to the RLHF Handbook! +# Welcome to the Alignment Handbook! Stay tuned for more details 🤗 \ No newline at end of file From 2f018b761e9e7b31fabf3715398221ec5b2c0d40 Mon Sep 17 00:00:00 2001 From: Lewis Tunstall Date: Fri, 12 Jan 2024 09:27:54 +1100 Subject: [PATCH 4/5] Remove package --- .github/workflows/build_pr_documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index 96469836..f2519f35 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -13,7 +13,7 @@ jobs: with: commit_sha: ${{ github.event.pull_request.head.sha }} pr_number: ${{ github.event.number }} - package: alignment-handbook + # package: alignment-handbook path_to_docs: alignment-handbook/chapters/ additional_args: --not_python_module languages: en \ No newline at end of file From 93585f0062a10510308e6f7d16e9e6bf63e03631 Mon Sep 17 00:00:00 2001 From: Lewis Tunstall Date: Fri, 12 Jan 2024 09:43:08 +1100 Subject: [PATCH 5/5] Revert' --- .github/workflows/build_pr_documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index f2519f35..96469836 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -13,7 +13,7 @@ jobs: with: commit_sha: ${{ github.event.pull_request.head.sha }} pr_number: ${{ github.event.number }} - # package: alignment-handbook + package: alignment-handbook path_to_docs: alignment-handbook/chapters/ additional_args: --not_python_module languages: en \ No newline at end of file