Commit e1afc9a
Upgrade Docusaurus to 3.8.1-canary-6401 (#3021)
Summary:
Pull Request resolved: #3021
X-link: facebook/Ax#4340
We recently noticed that the copy feature on our website codeblocks were excluding indentation. There's a github issue on the docusaurus repo tracking this facebook/docusaurus#11414 with a fix that was just merged today facebook/docusaurus#11422.
To avoid waiting until their next release we have two options:
1. update our website package.json to use a docusaurus canary until they release 3.9
2. swizzle the relevant docusaurus code and fix it ourselves using their
well documented api. There's an example of another project replacing this same logic that we can use. Though it will become unnecessary once docusaurus 3.9 releases
We're going with option (1) here and upgrading Docusaurus to version 3.8.1-canary-6401 across Ax and BoTorch. The docusaurus team releases canaries regularly and are what they use to build their website. https://docusaurus.io/community/canary
Reviewed By: mpolson64
Differential Revision: D83068096
fbshipit-source-id: d88084af7f58803d798e7f4348e028053e1f30121 parent d0457f7 commit e1afc9a
2 files changed
+36
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | | - | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1485 | 1485 | | |
1486 | 1486 | | |
1487 | 1487 | | |
1488 | | - | |
| 1488 | + | |
1489 | 1489 | | |
1490 | 1490 | | |
1491 | 1491 | | |
| |||
1594 | 1594 | | |
1595 | 1595 | | |
1596 | 1596 | | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
1597 | 1610 | | |
1598 | 1611 | | |
1599 | 1612 | | |
| |||
1739 | 1752 | | |
1740 | 1753 | | |
1741 | 1754 | | |
1742 | | - | |
| 1755 | + | |
1743 | 1756 | | |
1744 | 1757 | | |
1745 | 1758 | | |
| |||
1855 | 1868 | | |
1856 | 1869 | | |
1857 | 1870 | | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
1858 | 1887 | | |
1859 | 1888 | | |
1860 | 1889 | | |
| |||
0 commit comments