Skip to content

Add post-stratification tutorial page (mdx)#142

Closed
talgalili wants to merge 1 commit intofacebookresearch:mainfrom
talgalili:export-D86857631
Closed

Add post-stratification tutorial page (mdx)#142
talgalili wants to merge 1 commit intofacebookresearch:mainfrom
talgalili:export-D86857631

Conversation

@talgalili
Copy link
Copy Markdown
Contributor

Summary:
This adds a documentation page that embeds the post-stratification tutorial notebook as HTML on the balance website.

This is split from the previous diff because the MDX file references a URL that the original diff cannot see, causing validation errors.

Error:  Unable to build website for locale en.
Error:  Error: Docusaurus found broken links!

Please check the pages of your site in the list below, and make sure you don't reference any path that does not exist.
Note: it's possible to ignore broken links with the 'onBrokenLinks' Docusaurus configuration, and let the build pass.

Exhaustive list of all broken links found:

- On source page path = /docs/docs/statistical_methods/poststratify/:
   -> linking to ../../tutorials/quickstart_poststratify/ (resolved as: /docs/docs/tutorials/quickstart_poststratify/)

    at throwError (/home/runner/work/balance/balance/website/node_modules/docusaurus/logger/lib/index.js:76:11)
    at handleBrokenLinks (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/server/brokenLinks.js:153:47)
    at async buildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:186:5)
    at async tryToBuildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:41:20)
    at async mapAsyncSequential (/home/runner/work/balance/balance/website/node_modules/docusaurus/utils/lib/jsUtils.js:34:24)
    at async Command.build (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:76:21)
[INFO] Docusaurus version: 2.4.3
Node version: v18.20.8
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

NOTE: this can only be tested after the previous diff has landed.

Differential Revision: D86857631

@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Nov 12, 2025

@talgalili has exported this pull request. If you are a Meta employee, you can view the originating Diff in D86857631.

@meta-cla meta-cla bot added the cla signed label Nov 12, 2025
talgalili added a commit to talgalili/balance that referenced this pull request Nov 12, 2025
Summary:

This adds a documentation page that embeds the post-stratification tutorial notebook as HTML on the balance website.

This is split from the previous diff because the MDX file references a URL that the original diff cannot see, causing validation errors.

```
Error:  Unable to build website for locale en.
Error:  Error: Docusaurus found broken links!

Please check the pages of your site in the list below, and make sure you don't reference any path that does not exist.
Note: it's possible to ignore broken links with the 'onBrokenLinks' Docusaurus configuration, and let the build pass.

Exhaustive list of all broken links found:

- On source page path = /docs/docs/statistical_methods/poststratify/:
   -> linking to ../../tutorials/quickstart_poststratify/ (resolved as: /docs/docs/tutorials/quickstart_poststratify/)

    at throwError (/home/runner/work/balance/balance/website/node_modules/docusaurus/logger/lib/index.js:76:11)
    at handleBrokenLinks (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/server/brokenLinks.js:153:47)
    at async buildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:186:5)
    at async tryToBuildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:41:20)
    at async mapAsyncSequential (/home/runner/work/balance/balance/website/node_modules/docusaurus/utils/lib/jsUtils.js:34:24)
    at async Command.build (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:76:21)
[INFO] Docusaurus version: 2.4.3
Node version: v18.20.8
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
```

NOTE: this can only be tested after the previous diff has landed.

Differential Revision: D86857631
talgalili added a commit to talgalili/balance that referenced this pull request Nov 12, 2025
Summary:

This adds a documentation page that embeds the post-stratification tutorial notebook as HTML on the balance website.

This is split from the previous diff because the MDX file references a URL that the original diff cannot see, causing validation errors.

```
Error:  Unable to build website for locale en.
Error:  Error: Docusaurus found broken links!

Please check the pages of your site in the list below, and make sure you don't reference any path that does not exist.
Note: it's possible to ignore broken links with the 'onBrokenLinks' Docusaurus configuration, and let the build pass.

Exhaustive list of all broken links found:

- On source page path = /docs/docs/statistical_methods/poststratify/:
   -> linking to ../../tutorials/quickstart_poststratify/ (resolved as: /docs/docs/tutorials/quickstart_poststratify/)

    at throwError (/home/runner/work/balance/balance/website/node_modules/docusaurus/logger/lib/index.js:76:11)
    at handleBrokenLinks (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/server/brokenLinks.js:153:47)
    at async buildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:186:5)
    at async tryToBuildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:41:20)
    at async mapAsyncSequential (/home/runner/work/balance/balance/website/node_modules/docusaurus/utils/lib/jsUtils.js:34:24)
    at async Command.build (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:76:21)
[INFO] Docusaurus version: 2.4.3
Node version: v18.20.8
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
```

NOTE: this can only be tested after the previous diff has landed.

Differential Revision: D86857631
Summary:

This adds a documentation page that embeds the post-stratification tutorial notebook as HTML on the balance website.

This is split from the previous diff because the MDX file references a URL that the original diff cannot see, causing validation errors.

```
Error:  Unable to build website for locale en.
Error:  Error: Docusaurus found broken links!

Please check the pages of your site in the list below, and make sure you don't reference any path that does not exist.
Note: it's possible to ignore broken links with the 'onBrokenLinks' Docusaurus configuration, and let the build pass.

Exhaustive list of all broken links found:

- On source page path = /docs/docs/statistical_methods/poststratify/:
   -> linking to ../../tutorials/quickstart_poststratify/ (resolved as: /docs/docs/tutorials/quickstart_poststratify/)

    at throwError (/home/runner/work/balance/balance/website/node_modules/docusaurus/logger/lib/index.js:76:11)
    at handleBrokenLinks (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/server/brokenLinks.js:153:47)
    at async buildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:186:5)
    at async tryToBuildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:41:20)
    at async mapAsyncSequential (/home/runner/work/balance/balance/website/node_modules/docusaurus/utils/lib/jsUtils.js:34:24)
    at async Command.build (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:76:21)
[INFO] Docusaurus version: 2.4.3
Node version: v18.20.8
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
```

NOTE: this can only be tested after the previous diff has landed.

Differential Revision: D86857631
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Nov 12, 2025

This pull request has been merged in 995c8bb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants