diff --git a/example_docs/docs/sphinx_guide/inline_classes.rst b/example_docs/docs/apidoc/inline_classes.rst similarity index 100% rename from example_docs/docs/sphinx_guide/inline_classes.rst rename to example_docs/docs/apidoc/inline_classes.rst diff --git a/example_docs/docs/sphinx_guide/autodoc.rst b/example_docs/docs/apidoc/module.rst similarity index 100% rename from example_docs/docs/sphinx_guide/autodoc.rst rename to example_docs/docs/apidoc/module.rst diff --git a/example_docs/docs/index.rst b/example_docs/docs/index.rst index d23fc817..77911bf8 100644 --- a/example_docs/docs/index.rst +++ b/example_docs/docs/index.rst @@ -19,8 +19,8 @@ A site to test out styling for qiskit-sphinx-theme. :caption: API :maxdepth: 2 - Autodoc - Inline classes + Autodoc + Inline classes .. toctree:: :caption: Special elements diff --git a/tests/js/tests.js b/tests/js/tests.js index f2510fde..af235a67 100644 --- a/tests/js/tests.js +++ b/tests/js/tests.js @@ -45,7 +45,7 @@ test("right side bar is not broken by our page layout", async ({ page }) => { test.describe("left side bar", () => { test("renders correctly", async ({ page }) => { // Go to a top-level page so that we can see how the expanded side bar looks. - await page.goto("sphinx_guide/autodoc.html"); + await page.goto("apidoc/module.html"); const leftToC = page.locator(".sidebar-drawer"); await expect(leftToC).toHaveScreenshot(); }); @@ -69,7 +69,7 @@ test.describe("left side bar", () => { test.describe("api docs", () => { test("module page", async ({ page }) => { - await page.goto("sphinx_guide/autodoc.html"); + await page.goto("apidoc/module.html"); const content = page.locator("div.article-container"); await expect(content).toHaveScreenshot(); }); @@ -87,7 +87,7 @@ test.describe("api docs", () => { }); test("inline classes", async ({ page }) => { - await page.goto("sphinx_guide/inline_classes.html"); + await page.goto("apidoc/inline_classes.html"); const content = page.locator("div.article-container"); await expect(content).toHaveScreenshot(); });