Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Update docs to ensure kebab menu shows subheads #1885

Closed
wants to merge 1 commit into from

Conversation

cojennin
Copy link

@cojennin cojennin commented Oct 2, 2018

Summary

Reference issue: #1873

The kebab menu for docs pages was empty on certain pages (it seems like a setting on the siteConfig.js that controls whether this menu is shown or not. It doesn't seem like there's a way to override this on a per page basis with configuration).

I modified the format of these pages to bring them more in line with similar docs pages. Also added headers to ensure all docs pages had a value in the kebab dropdown. Seemed easier than coding around it.

Test Plan

Verified the changes on docs pages locally

Copy link
Contributor

@niveditc niveditc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

niveditc is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

jdecked pushed a commit to twitter-forks/draft-js that referenced this pull request Oct 9, 2019
Summary:
**Summary**

Reference issue: facebookarchive#1873

The kebab menu for `docs` pages was empty on certain pages (it seems like a setting on the siteConfig.js that [controls whether this menu is shown or not](https://github.com/facebook/Docusaurus/blob/f2927a9fc458cc368ebae5474e55b755fe4120db/v1/lib/core/BlogPostLayout.js#L92). It doesn't seem like there's a way to override this on a per page basis with configuration).

I modified the format of these pages to bring them more in line with similar `docs` pages. Also added headers to ensure all docs pages had a value in the kebab dropdown. Seemed easier than coding around it.

**Test Plan**

Verified the changes on `docs` pages locally
Pull Request resolved: facebookarchive#1885

Differential Revision: D10187920

fbshipit-source-id: 9d130c62b1e79be1e87011d10d403d7773d6a412
alicayan008 pushed a commit to alicayan008/draft-js that referenced this pull request Jul 4, 2023
Summary:
**Summary**

Reference issue: #1873

The kebab menu for `docs` pages was empty on certain pages (it seems like a setting on the siteConfig.js that [controls whether this menu is shown or not](https://github.com/facebook/Docusaurus/blob/f2927a9fc458cc368ebae5474e55b755fe4120db/v1/lib/core/BlogPostLayout.js#L92). It doesn't seem like there's a way to override this on a per page basis with configuration).

I modified the format of these pages to bring them more in line with similar `docs` pages. Also added headers to ensure all docs pages had a value in the kebab dropdown. Seemed easier than coding around it.

**Test Plan**

Verified the changes on `docs` pages locally
Pull Request resolved: facebookarchive/draft-js#1885

Differential Revision: D10187920

fbshipit-source-id: 9d130c62b1e79be1e87011d10d403d7773d6a412
aforismesen added a commit to aforismesen/draft-js that referenced this pull request Jul 12, 2024
Summary:
**Summary**

Reference issue: #1873

The kebab menu for `docs` pages was empty on certain pages (it seems like a setting on the siteConfig.js that [controls whether this menu is shown or not](https://github.com/facebook/Docusaurus/blob/f2927a9fc458cc368ebae5474e55b755fe4120db/v1/lib/core/BlogPostLayout.js#L92). It doesn't seem like there's a way to override this on a per page basis with configuration).

I modified the format of these pages to bring them more in line with similar `docs` pages. Also added headers to ensure all docs pages had a value in the kebab dropdown. Seemed easier than coding around it.

**Test Plan**

Verified the changes on `docs` pages locally
Pull Request resolved: facebookarchive/draft-js#1885

Differential Revision: D10187920

fbshipit-source-id: 9d130c62b1e79be1e87011d10d403d7773d6a412
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants