Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(v2): highlight items in the table of content #1896

Merged
merged 47 commits into from
Nov 5, 2019

Commits on Oct 27, 2019

  1. feat(v2): highlight items in the table of content

    Santiago Garcia da Rosa authored and Santiago Garcia da Rosa committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    19efb7c View commit details
    Browse the repository at this point in the history
  2. refactor: move string to const

    Santiago Garcia da Rosa authored and Santiago Garcia da Rosa committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    4f44e36 View commit details
    Browse the repository at this point in the history
  3. refactor(v2): Convert sitemap plugin to TypeScript (facebook#1894)

    * Convert sitemap plugin to TypeScript
    
    Test - enabled the sitemap plugin in the v2 website and verified that
    the sitemap is created after running `docusaurus build`.
    
    * Addressing review comments
    moozzyk authored and endiliey committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    c23f981 View commit details
    Browse the repository at this point in the history
  4. perf(v2): significantly reduce bundle size & initial html payload (fa…

    …cebook#1898)
    
    * perf(v2): reduce bundle size significantly with super short chunk name and registry
    
    * changelog
    
    * use hash:8 as id for better long term caching
    
    * even shorter filename. slice contenthash
    endiliey authored and yangshun committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    fabaf77 View commit details
    Browse the repository at this point in the history
  5. fix(v2): align search icon on small width device (facebook#1893)

    * fix(v2): align search icon on small width device
    
    * nits
    
    * nits
    endiliey authored and yangshun committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    84462e2 View commit details
    Browse the repository at this point in the history
  6. refactor(v2): refactor dark toggle into a hook (facebook#1899)

    * change(v2): refactor dark toggle into a theme
    
    * follow how themes resolve files
    
    * let theme hook to pick up default theme by itself
    wgao19 authored and yangshun committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    01f4d9a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    98679b5 View commit details
    Browse the repository at this point in the history
  8. misc(v1): use primary color for hovered items in table of contents (f…

    …acebook#1871)
    
    * fix issue#1752
    
    when element in side nav is hovered over the color changes.
    
    * Update main.css
    blitz137 authored and yangshun committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    f14b6ee View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    421598e View commit details
    Browse the repository at this point in the history
  10. misc(v2): v1 backward compatibility for USE_SSH env var (facebook#1880)

    * misc(v2): address comments
    
    * misc(v2): update CHANGELOG
    yns88 authored and yangshun committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    812a30b View commit details
    Browse the repository at this point in the history
  11. feat(v2): allow line highlighting (facebook#1860)

    * feat(v2): allow line highlighting
    
    * Refactor: use parse-numeric-range for parsing
    
    * Add line highlighting for live code blocks
    
    * feat(v2): add sticky footer (facebook#1855)
    
    * feat(v2): add sticky footer
    
    * Update CHANGELOG-2.x.md
    
    * Update CHANGELOG-2.x.md
    
    * fix(v2): remove empty doc sidebar container (facebook#1870)
    
    * docs: showcase user Amphora (facebook#1873)
    
    * Add Amphora Data link to users
    
    Adds Amphora Data to the list of users
    
    * Add Amphora Data logo
    
    * fix case of image path
    
    * Move Image into users directory
    
    * use black amphora image
    
    * fix(v2): fix search input blur on desktop (facebook#1874)
    
    * docs(v2): showcase user mbt-bundle (facebook#1875)
    
    * feat(v2): postcss should only use stage 3 features instead of stage 2 (facebook#1872)
    
    * feat(v2): add ability expand all items in doc sidebar (facebook#1876)
    
    * feat(v2): add ability expand all items in doc sidebar
    
    * Fix tests
    
    * Refactor: use themeConfig
    
    * Improve docs
    
    * Revert unnecessary  changes
    
    * Refactor: better consistency
    
    * Revert extra change
    
    * Refactor: use useDocusaurusContext to get config value
    
    * chore(v2): update changelog
    
    * chore(v2): update showcase and broken link
    
    * perf(v2): disable hash for css modules localident in dev (facebook#1882)
    
    * perf(v2): disable hash for css modules localident in dev
    
    * changelog
    
    * feat(v2): display footer in docs page for consistency (facebook#1883)
    
    * feat(v2): display footer in docs page
    
    * nits
    
    * address review
    
    * nits
    
    * docs(v2): fix format inline code (facebook#1888)
    
    * docs(v2): add docs on useful client api (facebook#1890)
    
    * docs(v2): add docs on useful client api
    
    * Update docusaurus-core.md
    
    * Update website/docs/docusaurus-core.md
    
    * Update website/docs/docusaurus-core.md
    
    * Update website/docs/docusaurus-core.md
    
    * Update website/docs/docusaurus-core.md
    
    * docs(v2): update config docs (facebook#1885)
    
    * fix(v2): do not show categories with empty items (facebook#1891)
    
    * styles(v2): update infima and fix styles (facebook#1892)
    
    * fix(v2): wrong css class
    
    * v2.0.0-alpha.31
    
    * chore(v2): update docs and changelog
    
    * docs(v2): update plugins, presets and themes docs (facebook#1889)
    
    * docs(v2): update plugins, presets and themes docs
    
    * ideal image plugin
    
    * proof reading
    
    * Merge master
    
    * refactor(v2): Convert sitemap plugin to TypeScript (facebook#1894)
    
    * Convert sitemap plugin to TypeScript
    
    Test - enabled the sitemap plugin in the v2 website and verified that
    the sitemap is created after running `docusaurus build`.
    
    * Addressing review comments
    
    * perf(v2): significantly reduce bundle size & initial html payload (facebook#1898)
    
    * perf(v2): reduce bundle size significantly with super short chunk name and registry
    
    * changelog
    
    * use hash:8 as id for better long term caching
    
    * even shorter filename. slice contenthash
    
    * fix(v2): align search icon on small width device (facebook#1893)
    
    * fix(v2): align search icon on small width device
    
    * nits
    
    * nits
    
    * refactor(v2): refactor dark toggle into a hook (facebook#1899)
    
    * change(v2): refactor dark toggle into a theme
    
    * follow how themes resolve files
    
    * let theme hook to pick up default theme by itself
    
    * perf(v2): reduce memory usage consumption (facebook#1900)
    
    * misc(v1): use primary color for hovered items in table of contents (facebook#1871)
    
    * fix issue#1752
    
    when element in side nav is hovered over the color changes.
    
    * Update main.css
    
    * fix(v1): mobile safari search input misalignment in header (facebook#1895)
    
    * misc(v2): v1 backward compatibility for USE_SSH env var (facebook#1880)
    
    * misc(v2): address comments
    
    * misc(v2): update CHANGELOG
    lex111 authored and yangshun committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    9c69dfd View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2019

  1. Configuration menu
    Copy the full SHA
    3172602 View commit details
    Browse the repository at this point in the history
  2. misc: update URLs to non-HTML versions (facebook#1902)

    * Update README.md - Fix Broken Link
    
    * misc: update URLs to non-HTML versions
    ikrydev authored and yangshun committed Oct 28, 2019
    Configuration menu
    Copy the full SHA
    3f4c805 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6667a0 View commit details
    Browse the repository at this point in the history
  4. fix(v2): accessing /docs or /docs/xxxx should not be empty (facebook#…

    …1903)
    
    * fix(v2): nested routes should have wildcard/ not found page too
    
    * better fix
    
    * nits
    
    * space
    endiliey authored and yangshun committed Oct 28, 2019
    Configuration menu
    Copy the full SHA
    7714afb View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2019

  1. docs(v2): code block line highlighting (facebook#1904)

    * docs(v2): code block line highlighting
    
    * misc: update CHANGELOG
    
    * misc: respond to review
    
    * docs: add line highlighting to the template
    yangshun authored Oct 29, 2019
    Configuration menu
    Copy the full SHA
    f635f9a View commit details
    Browse the repository at this point in the history
  2. fix(v2): webpack modules resolve should prioritize @docusaurus/core o…

    …wn deps (facebook#1907)
    
    * fix(v2): webpack modules resolve should prioritize own deps
    
    * nits
    endiliey authored Oct 29, 2019
    Configuration menu
    Copy the full SHA
    e6444c0 View commit details
    Browse the repository at this point in the history
  3. feat(v2): simplify blog metadata to minimize number of request (faceb…

    …ook#1908)
    
    * feat(v2): simplify blog metadata to minimize number of request
    
    * remove async
    endiliey authored Oct 29, 2019
    Configuration menu
    Copy the full SHA
    2e58e83 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    31d17c9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ad22c9f View commit details
    Browse the repository at this point in the history
  6. fix(v2): docs plugin stability improvement (100% test coverage) (face…

    …book#1912)
    
    * update jest config
    
    * add more tests on docs plugin
    
    * fix(v2): docs plugin should not add routes if there are no docs
    
    * fix
    
    * rm -rf coverage
    
    * nits
    
    * update
    endiliey authored and yangshun committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    a8826b9 View commit details
    Browse the repository at this point in the history
  7. docs(v2): add windows batch instructions for publishing to gh pages (f…

    …acebook#1914)
    
    * docs: add windows batch instructions for publishing to gh pages
    
    * docs: add windows batch instructions on the v2 website
    dylmye authored and endiliey committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    f853171 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2019

  1. fix(v2): custom searchbar should appear even if themeconfig.algolia i…

    …s undefined (facebook#1909)
    
    * fix(v2): custom searchbar should appear even if themeconfig.algolia is undefined
    
    * nits
    
    * Docs docs
    
    * inaccuracy
    
    * changelog
    
    * nits
    endiliey authored and yangshun committed Oct 30, 2019
    Configuration menu
    Copy the full SHA
    64871b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fcee6d View commit details
    Browse the repository at this point in the history
  3. docs(v2): Redirect component for easy redirect (facebook#1913)

    * docs(v2): Redirect component for easy redirect
    
    * typo
    
    * docs
    
    * Update website/docs/docusaurus-core.md
    
    Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
    
    * Update docusaurus-core.md
    endiliey authored Oct 30, 2019
    Configuration menu
    Copy the full SHA
    16f10dd View commit details
    Browse the repository at this point in the history
  4. refactor: changes after comments (use custom hooks, code changes, fix…

    … bugs)
    Santiago Garcia da Rosa authored and Santiago Garcia da Rosa committed Oct 30, 2019
    Configuration menu
    Copy the full SHA
    5a2f539 View commit details
    Browse the repository at this point in the history
  5. fix(v2): regression from prioritizing core node_modules logic (facebo…

    …ok#1917)
    
    * fix(v2): regression from prioritizing core node_modules logic
    
    * nits
    endiliey authored Oct 30, 2019
    Configuration menu
    Copy the full SHA
    ca4efb6 View commit details
    Browse the repository at this point in the history
  6. chore: changelog

    endiliey committed Oct 30, 2019
    Configuration menu
    Copy the full SHA
    c7ff07c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    255584c View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2019

  1. chore: bump dependencies

    endiliey committed Oct 31, 2019
    1 Configuration menu
    Copy the full SHA
    ab15205 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2019

  1. Configuration menu
    Copy the full SHA
    472c8fc View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2019

  1. docs(v2): fix typos (facebook#1930)

    lex111 authored and yangshun committed Nov 2, 2019
    Configuration menu
    Copy the full SHA
    b8335fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0baaad3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c41c19e View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2019

  1. docs(v2): theme, plugin, and preset config (facebook#1929)

    * docs(v2): theme, plugin, and preset config
    
    * change tabs to spaces
    
    * change theme example
    kabartolo authored and wgao19 committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    3f8cb78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82ece51 View commit details
    Browse the repository at this point in the history
  3. misc(v1): use Node.js lts version (facebook#1920)

    This is much stable and more performant
    gengjiawen authored and yangshun committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    33718b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2d13fe2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    34a84a3 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2019

  1. Configuration menu
    Copy the full SHA
    146a301 View commit details
    Browse the repository at this point in the history
  2. fix(v2): allows to create tabs with only one item (facebook#1934)

    * fix(v2): allow to create tabs with only one item
    
    It was not possible to have tabs containing only one tab item, so the code below crashed
    
    ```
    <Tabs
        defaultValue="SomeFile.js"
        values={[
            { label: "SomeFile.js", value: "SomeFile.js" }
        ]}
    >
    <TabItem value="SomeFile.js">
        Tab content
    </TabItem>
    </Tabs>
    ```
    
    * Update index.js
    Bohdan Shulha authored and yangshun committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    9c34bb7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d445fc View commit details
    Browse the repository at this point in the history
  4. v2.0.0-alpha.32

    endiliey committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    cd9e2f2 View commit details
    Browse the repository at this point in the history
  5. chore(v2): changelog

    endiliey committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    5909b49 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2019

  1. Configuration menu
    Copy the full SHA
    32773e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77e8890 View commit details
    Browse the repository at this point in the history
  3. misc(v2): update CHANGELOG

    yangshun committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    542b7c9 View commit details
    Browse the repository at this point in the history