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

build(deps): bump webpack from 5.93.0 to 5.94.0 in /docs #1554

Open
wants to merge 149 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
ad1f2b2
Add readonly style variations to compatible components
Stanton Sep 9, 2022
1739c47
Add inline docs for components that support readonly attributes
Stanton Sep 9, 2022
8658a17
Merge branch 'develop' into read-only-a11y
Stanton Sep 21, 2022
b117cdc
Merge branch 'develop' into read-only-a11y
Stanton Sep 21, 2022
96b6330
Revert to FontAwesome Free
Stanton Sep 21, 2022
cbe6b35
Update documentation
Stanton Sep 21, 2022
c3fbff8
Merge branch 'develop' into read-only-a11y
Stanton Sep 26, 2022
b49fcb2
Update package-lock.json
Stanton Sep 26, 2022
f338f3a
Delete package-lock.json
Stanton Sep 26, 2022
cdc6d21
Create package-lock.json
Stanton Sep 26, 2022
2f98329
Update package-lock.json
Stanton Sep 26, 2022
6175b07
Attempt to fix npm
Stanton Sep 26, 2022
a2e0311
Update package.json
Stanton Sep 27, 2022
ec8b695
Update package.json
Stanton Sep 27, 2022
810add8
Update js.yml
Stanton Sep 27, 2022
0d3a515
Delete package-lock.json
Stanton Sep 27, 2022
39452f8
Merge branch 'read-only-a11y' of github.com:jadu/pulsar into read-onl…
Stanton Sep 27, 2022
29698eb
Create package-lock.json
Stanton Sep 27, 2022
573a8aa
Attempt npde 14
Stanton Sep 27, 2022
b33c21a
Update js.yml
Stanton Sep 27, 2022
88b8e5f
Udpate dart-sass > sass
Stanton Sep 27, 2022
67d5ede
Npm update
Stanton Sep 27, 2022
cb6a612
Update with develop
Stanton Sep 30, 2022
fb88f3f
Merge branch 'develop' into read-only-a11y
Stanton Sep 30, 2022
d2a4857
Remove static positioning from footer
Stanton Feb 10, 2023
c7c88ce
Merge branch 'develop' into 1487_footer
Stanton Mar 9, 2023
f180df6
Remove empty block
Stanton Mar 9, 2023
428c95a
Fix twig deprecations introduced in Twig 2.x
Stanton Apr 20, 2023
a0d0c11
Merge branch 'twig-2.1' into 1487_footer
Stanton Apr 24, 2023
ce2e000
Stop footer appearing in wrong position when content doesn't exceed v…
Stanton Apr 24, 2023
b7445bb
Calculate width of footer at different viewports to not exceed 100%
Stanton Apr 24, 2023
d91d328
Fix variable interpolation
Stanton Apr 24, 2023
467e41b
[QU-4418] Explicitly set html variable where it is used
Jun 16, 2023
ce67a8a
Merge pull request #1517 from maxanstey/twig-2.1-deprecations-max
Stanton Jun 16, 2023
a735c12
Merge branch 'develop' into read-only-a11y
Stanton Jun 23, 2023
f090d5f
build(deps): bump semver from 5.7.1 to 5.7.2 in /docs
dependabot[bot] Jul 12, 2023
3e1f257
build(deps): bump postcss from 8.4.21 to 8.4.31 in /docs
dependabot[bot] Oct 7, 2023
15a9f5a
fix: upgrade jquery from 3.6.1 to 3.7.1
snyk-bot Nov 23, 2023
97f9d31
fix: upgrade datatables.net-responsive from 2.3.0 to 2.5.0
snyk-bot Nov 23, 2023
f92eca2
fix: upgrade datatables.net-responsive-dt from 2.3.0 to 2.5.0
snyk-bot Nov 23, 2023
73c133d
fix: upgrade timepicker from 1.13.18 to 1.14.1
snyk-bot Nov 23, 2023
db28a63
fix: upgrade datatables.net-dt from 1.13.4 to 1.13.6
snyk-bot Nov 23, 2023
c8474dc
Move to a sass processer which supports python3
Stanton Apr 18, 2024
aef56be
Restore expected input widths
Stanton Jun 18, 2024
cb306b8
Start implementing css variables
Stanton Jul 9, 2024
5f1a95b
First passing build with css vars replacing most of the calls to color()
Stanton Jul 12, 2024
606698f
Migrate more to css variables for colour
Stanton Jul 15, 2024
af4dfaf
Change documentation to focus on the css vars instead of sass
Stanton Jul 15, 2024
087f8b7
Fix position of imports
Stanton Jul 15, 2024
6a2b8df
Change location of colour palettes in documentation css
Stanton Jul 15, 2024
a079b99
Remove duplicate colour declaration
Stanton Jul 15, 2024
ffbb863
Move import positions, again
Stanton Jul 15, 2024
26fd263
Merge pull request #1536 from jadu/css-variables
Stanton Jul 15, 2024
7cddace
Update yarn.lock
Stanton Jul 16, 2024
10b1757
Merge branch 'develop' into python3
Stanton Jul 16, 2024
3bbea62
Update yarn.lock
Stanton Jul 16, 2024
f399e2a
Update package-lock.json
Stanton Jul 16, 2024
baa30b8
Merge branch 'develop' into snyk-upgrade-f2992393e8ee38c4042a6d738a26…
Stanton Jul 16, 2024
874b6d5
Update yarn.lock
Stanton Jul 16, 2024
1a0e0af
Merge pull request #1525 from jadu/snyk-upgrade-f2992393e8ee38c4042a6…
Stanton Jul 16, 2024
698e3a1
Merge branch 'develop' into snyk-upgrade-0d72168c202c1121ea3bb53a67e2…
Stanton Jul 16, 2024
3c1469e
Update lockfiles
Stanton Jul 16, 2024
7e57bc6
Merge pull request #1524 from jadu/snyk-upgrade-0d72168c202c1121ea3bb…
Stanton Jul 16, 2024
649e4d2
Merge branch 'develop' into snyk-upgrade-3e0a2e18490983e59fa563c6d227…
Stanton Jul 16, 2024
95eba5b
Update lockfiles
Stanton Jul 16, 2024
40f5615
Merge pull request #1523 from jadu/snyk-upgrade-3e0a2e18490983e59fa56…
Stanton Jul 16, 2024
2fb864e
Merge
Stanton Jul 16, 2024
bd91e4d
Merge pull request #1522 from jadu/snyk-upgrade-60664f1dc15d7a797c178…
Stanton Jul 16, 2024
54abea8
update lockfiles
Stanton Jul 16, 2024
063436c
Merge branch 'develop' into snyk-upgrade-b1020763de5834510f610cfb8cd5…
Stanton Jul 16, 2024
7c2d6de
Merge pull request #1521 from jadu/snyk-upgrade-b1020763de5834510f610…
Stanton Jul 16, 2024
3e14d30
Merge branch 'develop' into python3
Stanton Jul 16, 2024
3f82b9d
update lockfiles
Stanton Jul 16, 2024
3c007ed
Merge pull request #1528 from jadu/python3
Stanton Jul 16, 2024
1d6feef
Merge branch 'develop' into dependabot/npm_and_yarn/docs/postcss-8.4.31
Stanton Jul 16, 2024
a63ea18
Merge pull request #1520 from jadu/dependabot/npm_and_yarn/docs/postc…
Stanton Jul 16, 2024
f6f2ea1
Merge branch 'develop' into dependabot/npm_and_yarn/docs/semver-5.7.2
Stanton Jul 16, 2024
a26803c
Merge branch 'develop' into dependabot/npm_and_yarn/docs/semver-5.7.2
Stanton Jul 16, 2024
6ae64c6
Merge pull request #1519 from jadu/dependabot/npm_and_yarn/docs/semve…
Stanton Jul 16, 2024
0c3cbd1
Merge pull request #1505 from jadu/twig-2.1-deprecations
Stanton Jul 16, 2024
27957bd
build(deps): bump braces from 3.0.2 to 3.0.3 in /docs
dependabot[bot] Jul 16, 2024
a8285c0
Merge pull request #1444 from jadu/read-only-a11y
Stanton Jul 16, 2024
f9d68c1
build(deps-dev): bump browserify-shim from 3.8.15 to 3.8.16
dependabot[bot] Jul 16, 2024
a48ba0d
build(deps-dev): bump ws from 7.5.9 to 7.5.10
dependabot[bot] Jul 16, 2024
ac87fe2
Merge pull request #1488 from jadu/1487_footer
Stanton Jul 16, 2024
57163f9
Merge branch 'develop' into dependabot/npm_and_yarn/ws-7.5.10
Stanton Jul 16, 2024
a293a5c
Merge branch 'develop' into dependabot/npm_and_yarn/ws-7.5.10
Stanton Jul 16, 2024
dcecbe1
Merge pull request #1540 from jadu/dependabot/npm_and_yarn/ws-7.5.10
Stanton Jul 17, 2024
a5f3073
build(deps-dev): bump browserify-shim from 3.8.15 to 3.8.16
dependabot[bot] Jul 17, 2024
5e353f7
Merge branch 'develop' into dependabot/npm_and_yarn/browserify-shim-3…
Stanton Jul 17, 2024
1648523
build(deps-dev): bump socket.io from 4.6.1 to 4.7.5
dependabot[bot] Jul 17, 2024
91b3de6
Update yarn.lock
Stanton Jul 17, 2024
dcb6028
Merge branch 'dependabot/npm_and_yarn/browserify-shim-3.8.16' of gith…
Stanton Jul 17, 2024
6bde7c9
Merge pull request #1539 from jadu/dependabot/npm_and_yarn/browserify…
Stanton Jul 17, 2024
ad91fd1
Merge branch 'develop' into dependabot/npm_and_yarn/socket.io-4.7.5
Stanton Jul 17, 2024
cac921b
Merge pull request #1538 from jadu/dependabot/npm_and_yarn/socket.io-…
Stanton Jul 17, 2024
358eba4
Merge branch 'develop' into dependabot/npm_and_yarn/docs/braces-3.0.3
Stanton Jul 17, 2024
a7c51aa
Merge branch 'develop' into dependabot/npm_and_yarn/docs/braces-3.0.3
Stanton Jul 17, 2024
62f2161
Merge pull request #1537 from jadu/dependabot/npm_and_yarn/docs/brace…
Stanton Jul 17, 2024
2043dd9
fix: upgrade datatables.net-select-dt from 1.6.2 to 1.7.1
snyk-bot Jul 20, 2024
c2760ce
fix: upgrade datatables.net-select from 1.6.2 to 1.7.1
snyk-bot Jul 20, 2024
ac1b0e1
fix: upgrade moment from 2.29.4 to 2.30.1
snyk-bot Jul 20, 2024
4be517e
fix: upgrade jquery-ui from 1.13.2 to 1.13.3
snyk-bot Jul 20, 2024
e80ceac
fix: upgrade jstree from 3.3.15 to 3.3.16
snyk-bot Jul 20, 2024
3a910a4
Merge pull request #1546 from jadu/snyk-upgrade-e5b85b3d65355a7e0755a…
Stanton Aug 5, 2024
46ba02e
Merge branch 'develop' into snyk-upgrade-6f7cad26e945bdb5f5ddd2453cde…
Stanton Aug 5, 2024
c6ba5e3
Merge pull request #1545 from jadu/snyk-upgrade-6f7cad26e945bdb5f5ddd…
Stanton Aug 5, 2024
2955fd3
Merge pull request #1544 from jadu/snyk-upgrade-3a2a3179f9ea06766357e…
Stanton Aug 5, 2024
658d689
Merge pull request #1543 from jadu/snyk-upgrade-14d2d121c917c6466de23…
Stanton Aug 5, 2024
2b9a1a6
Merge branch 'develop' into snyk-upgrade-06aa5d18b211da97db78ecf7af1c…
Stanton Aug 5, 2024
83f150b
Merge branch 'develop' into snyk-upgrade-06aa5d18b211da97db78ecf7af1c…
Stanton Aug 5, 2024
bbb007f
Merge branch 'develop' into snyk-upgrade-06aa5d18b211da97db78ecf7af1c…
Stanton Aug 5, 2024
b5bcdd9
lockfile
Stanton Aug 5, 2024
a0d197f
Merge pull request #1542 from jadu/snyk-upgrade-06aa5d18b211da97db78e…
Stanton Aug 5, 2024
5891278
Add product support detail to documentation
Stanton Aug 16, 2024
68eb8a7
Finish implementation of FA3.5.1
Stanton Aug 20, 2024
3f1ffdd
Merge pull request #1548 from jadu/docs-product-support
Stanton Aug 20, 2024
466d89d
Update docs.yml
Stanton Aug 20, 2024
3e9ff38
Merge pull request #1550 from jadu/Stanton-patch-1
Stanton Aug 20, 2024
221fe15
Update docs.yml
Stanton Aug 20, 2024
2b8f950
Update docs.yml
Stanton Aug 20, 2024
66b2b04
Merge pull request #1551 from jadu/Stanton-patch-1
Stanton Aug 20, 2024
291182d
Fix broken links
Stanton Aug 20, 2024
d87ac7a
Merge branch 'develop' of github.com:jadu/pulsar into develop
Stanton Aug 20, 2024
e7e1d3a
Merge branch 'develop' of github.com:jadu/pulsar into develop
Stanton Aug 20, 2024
37c74b6
Update docs.yml
Stanton Aug 20, 2024
bf3b953
Update docs.yml
Stanton Aug 20, 2024
ac8711a
Update docs.yml
Stanton Aug 20, 2024
e23d474
Delete package-lock.json
Stanton Aug 20, 2024
5f78793
Remove FApro from docs
Stanton Aug 20, 2024
48f8144
Update package.json
Stanton Aug 20, 2024
a1ad765
Update docs.yml
Stanton Aug 20, 2024
478e214
Update docs.yml
Stanton Aug 20, 2024
3a256f0
Merge pull request #1552 from jadu/Stanton-patch-1
Stanton Aug 20, 2024
52249a0
Update docs.yml
Stanton Aug 20, 2024
efcf426
Update docs.yml
Stanton Aug 20, 2024
5c6d6f5
Re-add react fontawesome to docs
Stanton Aug 20, 2024
6aadf89
Merge branch 'develop' of github.com:jadu/pulsar into develop
Stanton Aug 20, 2024
f94b0de
Merge branch 'develop' of github.com:jadu/pulsar into develop
Stanton Aug 20, 2024
6413760
Allow missing MDXComponents
Stanton Aug 20, 2024
92d02f2
Update docusaurus.config.js
Stanton Aug 20, 2024
eb13917
Update dropzone.mdx
Stanton Aug 20, 2024
1e5e925
Fix pulsar css and js inclides
Stanton Aug 22, 2024
f6a9ddc
Merge pull request #1553 from jadu/docs-pulsar-update
Stanton Aug 22, 2024
c8aa265
Change highlighted code line to match dracula theme
Stanton Aug 22, 2024
6287ce5
Merge branch 'develop' of github.com:jadu/pulsar into develop
Stanton Aug 22, 2024
05f265a
Fix issue with docusaurus failing to find js assets
Stanton Aug 22, 2024
0740207
Improves card body presentation when no title is supplied
Stanton Aug 27, 2024
2e69eba
build(deps): bump webpack from 5.93.0 to 5.94.0 in /docs
dependabot[bot] Aug 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
71 changes: 47 additions & 24 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,59 @@
name: deploy-docusaurus
name: Deploy to GitHub Pages

on:
push:
branches: [develop]
branches:
- develop
paths:
- 'docs/**' # Only trigger on changes in the /docs directory

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
publish:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out repo
uses: actions/checkout@v3
# Node is required for npm
- name: Set up Node
uses: actions/setup-node@v3
- uses: actions/checkout@v4
with:
node-version: "16"
# Install and build Docusaurus website
- name: Build Docusaurus website
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn

- name: Install dependencies
run: |
cd docs
npm install
npm run build
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v3
npm config set "@fortawesome:registry" https://npm.fontawesome.com/
npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_TOKEN }}"
yarn install --frozen-lockfile
working-directory: ./docs # Set the working directory to /docs

- name: Build website
run: yarn build
working-directory: ./docs # Set the working directory to /docs

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
target_branch: gh-pages
build_dir: docs/build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
path: docs/build # Adjust the path to the build directory within /docs

deploy:
name: Deploy to GitHub Pages
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'npm'
- run: npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_TOKEN }}"
- run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ pulsar.zip
/ngrok
/.vagrant
/phpunit
/docs
.phpunit.result.cache
*.cache
/docs/docs
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// const Fiber = require('fibers');
const sass = require('dart-sass');
const sass = require('sass');

module.exports = function(grunt) {

Expand Down Expand Up @@ -511,7 +511,6 @@ module.exports = function(grunt) {
'autoprefixer',
'browserify:dev',
'browserify:lexicon',
'browserSync',
'watch'
]);

Expand Down
4 changes: 3 additions & 1 deletion app/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
$template = $twig->loadTemplate($_SERVER['PATH_INFO'] . '/index.html.twig');
}

// define('theme', 'projector');
// Show deprecations
// $deprecations = new \Twig\Util\DeprecationCollector($twig);
// print_r($deprecations->collectDir($templateDir));

print $template->render(array());
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Website

This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.

### Installation

Expand Down
12 changes: 12 additions & 0 deletions docs/blog/2019-05-28-first-blog-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
slug: first-blog-post
title: First Blog Post
authors: [slorber, yangshun]
tags: [hola, docusaurus]
---

Lorem ipsum dolor sit amet...

<!-- truncate -->

...consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
44 changes: 44 additions & 0 deletions docs/blog/2019-05-29-long-blog-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
slug: long-blog-post
title: Long Blog Post
authors: yangshun
tags: [hello, docusaurus]
---

This is the summary of a very long blog post,

Use a `<!--` `truncate` `-->` comment to limit blog post size in the list view.

<!-- truncate -->

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
24 changes: 24 additions & 0 deletions docs/blog/2021-08-01-mdx-blog-post.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
slug: mdx-blog-post
title: MDX Blog Post
authors: [slorber]
tags: [docusaurus]
---

Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).

:::tip

Use the power of React to create interactive blog posts.

:::

{/* truncate */}

For example, use JSX to create an interactive button:

```js
<button onClick={() => alert('button clicked!')}>Click me!</button>
```

<button onClick={() => alert('button clicked!')}>Click me!</button>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions docs/blog/2021-08-26-welcome/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
slug: welcome
title: Welcome
authors: [slorber, yangshun]
tags: [facebook, hello, docusaurus]
---

[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).

Here are a few tips you might find useful.

<!-- truncate -->

Simply add Markdown files (or folders) to the `blog` directory.

Regular blog authors can be added to `authors.yml`.

The blog post date can be extracted from filenames, such as:

- `2019-05-30-welcome.md`
- `2019-05-30-welcome/index.md`

A blog post folder can be convenient to co-locate blog post images:

![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)

The blog supports tags as well!

**And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config.
23 changes: 23 additions & 0 deletions docs/blog/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
yangshun:
name: Yangshun Tay
title: Front End Engineer @ Facebook
url: https://github.com/yangshun
image_url: https://github.com/yangshun.png
page: true
socials:
x: yangshunz
github: yangshun

slorber:
name: Sébastien Lorber
title: Docusaurus maintainer
url: https://sebastienlorber.com
image_url: https://github.com/slorber.png
page:
# customize the url of the author page at /blog/authors/<permalink>
permalink: '/all-sebastien-lorber-articles'
socials:
x: sebastienlorber
linkedin: sebastienlorber
github: slorber
newsletter: https://thisweekinreact.com
19 changes: 19 additions & 0 deletions docs/blog/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
facebook:
label: Facebook
permalink: /facebook
description: Facebook tag description

hello:
label: Hello
permalink: /hello
description: Hello tag description

docusaurus:
label: Docusaurus
permalink: /docusaurus
description: Docusaurus tag description

hola:
label: Hola
permalink: /hola
description: Hola tag description
17 changes: 15 additions & 2 deletions docs/docs/components/badge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@
id: badge
title: Badge
sidebar_label: Badge
products:
supported:
- Central CMS
- Central Forms
- Connect
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
<div className="product-support">
<strong>Supported products</strong>
<ul>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central CMS</li>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central Forms</li>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central Connect</li>
</ul>
</div>

----

Badges can be used to highlight new or unread items, Limited usage is recommended, mainly for displaying numeric values in combination with other data to provide context. Do not use in place of labels, or any other similar element.

Expand Down
17 changes: 15 additions & 2 deletions docs/docs/components/block-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@
id: block-list
title: Block List
sidebar_label: Block List
products:
supported:
- Central CMS
- Central Forms
- Connect
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
<div className="product-support">
<strong>Supported products</strong>
<ul>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central CMS</li>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central Forms</li>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central Connect</li>
</ul>
</div>

----

A block list is a simple way to present lists of information and supports different markup schemes depending on what is most appropriate for the data. Markup can be based around `ul`, `ol`, `div` or `link` elements.

Expand Down
17 changes: 15 additions & 2 deletions docs/docs/components/breadcrumb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@
id: breadcrumb
title: Breadcrumb
sidebar_label: Breadcrumb
products:
supported:
- Central CMS
- Central Forms
- Connect
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
<div className="product-support">
<strong>Supported products</strong>
<ul>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central CMS</li>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central Forms</li>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central Connect</li>
</ul>
</div>

----

A basic helper to render a list of breadcrumb links. A view should set a `breadcrumbs` object which will then be rendered by the base template.

Expand Down
17 changes: 15 additions & 2 deletions docs/docs/components/button-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@
id: button-group
title: Button group
sidebar_label: Button group
products:
supported:
- Central CMS
- Central Forms
- Connect
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
<div className="product-support">
<strong>Supported products</strong>
<ul>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central CMS</li>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central Forms</li>
<li className="product-support--supported"><FontAwesomeIcon icon="fa-solid fa-check-circle" /> Central Connect</li>
</ul>
</div>

----

Group a collection of related [buttons](button.mdx) together on a single line. Great for creating toolbars.

Expand Down
Loading
Loading