Skip to content

Commit

Permalink
website: re-generate commons
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Dec 20, 2024
1 parent 16df16c commit 005b650
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 38 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

[![license](https://img.shields.io/github/license/xpack/web-preview-docusaurus)](https://github.com/xpack/web-preview-docusaurus/blob/master/LICENSE)
[![license](https://img.shields.io/github/license/xpack/xpack.github.io)](https://github.com/xpack/xpack.github.io/blob/master/LICENSE)

# The xPack Project web site source

Expand All @@ -8,7 +8,7 @@ The Docusaurus source code for the xPack Project web site.
## Project source

The source code is available on
[GitHub](https://github.com/xpack/web-preview-docusaurus/).
[GitHub](https://github.com/xpack/xpack.github.io/).

## License

Expand Down
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"name": "web-preview-docusaurus",
"name": "xpack.github.io",
"version": "0.0.0",
"description": "A preview of the next web site",
"description": "The website for the xPack project",
"main": "",
"scripts": {
"npm-install": "npm install",
"npm-link-helpers": "npm link @xpack/npm-packages-helper @xpack/docusaurus-template-liquid",
"npm-link": "npm link",
"npm-outdated": "npm outdated",
"npm-update": "npm update",
"generate-top-commons": "bash node_modules/@xpack/npm-packages-helper/maintenance-scripts/generate-top-commons.sh"
},
"author": {
Expand All @@ -12,13 +17,13 @@
"url": "https://github.com/ilg-ul"
},
"bugs": {
"url": "https://github.com/xpack/web-preview-docusaurus/issues"
"url": "https://github.com/xpack/xpack.github.io/issues"
},
"homepage": "https://xpack.github.io/web-preview-docusaurus/",
"homepage": "https://xpack.github.io/",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/xpack/web-preview-docusaurus.git"
"url": "git+https://github.com/xpack/xpack.github.io.git"
},
"dependencies": {},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions website/blog/_common/_download-analytics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import Image from '@theme/IdealImage';

## Analytics

- npmjs.com [web-preview-docusaurus](https://www.npmjs.com/package/web-preview-docusaurus)
- last week downloads [![NPM Downloads](https://img.shields.io/npm/dw/web-preview-docusaurus)](https://www.npmjs.com/package/web-preview-docusaurus/)
- total downloads [![NPM Downloads](https://img.shields.io/npm/d18m/web-preview-docusaurus)
](https://www.npmjs.com/package/web-preview-docusaurus/)
- npmjs.com [xpack.github.io](https://www.npmjs.com/package/xpack.github.io)
- last week downloads [![NPM Downloads](https://img.shields.io/npm/dw/xpack.github.io)](https://www.npmjs.com/package/xpack.github.io/)
- total downloads [![NPM Downloads](https://img.shields.io/npm/d18m/xpack.github.io)
](https://www.npmjs.com/package/xpack.github.io/)

Credit to [Shields IO](https://shields.io) for the badges.
8 changes: 4 additions & 4 deletions website/docs/developer/_common/_get-project-sources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

The project is hosted on GitHub:

- https://github.com/xpack/web-preview-docusaurus.git
- https://github.com/xpack/xpack.github.io.git

The project uses multiple branches:

Expand All @@ -20,7 +20,7 @@ terminal (on Windows use the Git Bash console):

```sh
mkdir ~/Work/npm-packages && cd ~/Work/npm-packages
git clone https://github.com/xpack/web-preview-docusaurus.git web-preview-docusaurus.git
git clone https://github.com/xpack/xpack.github.io.git xpack.github.io.git
```

For **development** purposes, clone the `development` branch:
Expand All @@ -29,11 +29,11 @@ For **development** purposes, clone the `development` branch:
mkdir ~/Work/npm-packages && cd ~/Work/npm-packages
git clone \
--branch development \
https://github.com/xpack/web-preview-docusaurus.git web-preview-docusaurus.git
https://github.com/xpack/xpack.github.io.git xpack.github.io.git
```

Or, if the repo was already cloned:

```sh
git -C ~/Work/npm-packages/web-preview-docusaurus.git pull
git -C ~/Work/npm-packages/xpack.github.io.git pull
```
2 changes: 1 addition & 1 deletion website/docs/developer/_common/_prerequisites.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import CodeBlock from '@theme/CodeBlock';

## Prerequisites

**web-preview-docusaurus** is a portable Node.js module;
**xpack.github.io** is a portable Node.js module;
development can be
performed on macOS, GNU/Linux and even Windows (although some npm scripts
must be executed in a Git Bash terminal).
Expand Down
2 changes: 1 addition & 1 deletion website/docs/developer/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Contributor's Guide
description: Guidance for developers aiming to contribute new features or bug fixes, detailing how to build the module, including prerequisites, repositories utilised, and scripts.
keywords:
- xpack
- web-preview-docusaurus
- xpack.github.io
- prerequisites
- repositories
- build
Expand Down
2 changes: 1 addition & 1 deletion website/docs/getting-started/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Getting Started
description: The initial steps to explore the project, including what xpacks are, the project's features, benefits, compatibility, and available documentation.
keywords:
- xpack
- web-preview-docusaurus
- xpack.github.io
- overview
- compatibility

Expand Down
2 changes: 1 addition & 1 deletion website/docs/maintainer/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Maintainer's Guide
description: Assistance for project maintainers, including the release schedule, versioning scheme, and instructions on how to build, test, and publish.
keywords:
- xpack
- web-preview-docusaurus
- xpack.github.io
- releases
- build
- publish
Expand Down
2 changes: 1 addition & 1 deletion website/docs/project/about/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: About
description: Details about the project, including the history of the website and details about the author.
keywords:
- xpack
- web-preview-docusaurus
- xpack.github.io
- about

date: 2024-10-24 23:58:00 +0300
Expand Down
8 changes: 4 additions & 4 deletions website/docs/support/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Help Centre
description: The project's support channel, where you can ask questions, start discussions, and report issues.
keywords:
- xpack
- web-preview-docusaurus
- xpack.github.io
- support
- discussions
- issues
Expand Down Expand Up @@ -36,7 +36,7 @@ If you find any issues in the content of these pages (such as typos or
incorrect phrasing) or have suggestions for improving the documentation,
please share them through the
GitHub Discussions pages. Use the top-level
[GitHub Discussions](https://github.com/xpack/web-preview-docusaurus/discussions)
[GitHub Discussions](https://github.com/xpack/xpack.github.io/discussions)
page for issues related to the main xPack Project site, or the individual project’s GitHub Discussions pages for specific projects.

## Check documentation
Expand Down Expand Up @@ -65,7 +65,7 @@ If you still could not find a solution, if you have interesting use
cases, if you have custom configurations, and generally if you have
any experience that you want to share with others,
use the top-level
[GitHub Discussions](https://github.com/xpack/web-preview-docusaurus/discussions)
[GitHub Discussions](https://github.com/xpack/xpack.github.io/discussions)
page for questions related to the top xPack Project. For specific projects,
use the individual project's GitHub Discussions pages.
Enter a **New discussion**; use the **Q&A** category for questions,
Expand Down Expand Up @@ -115,7 +115,7 @@ Follow the hashtag `#xpack_project` for the latest updates.

**Do not** use
private e-mail for support, **use the
[GitHub Discussions](https://github.com/xpack/web-preview-docusaurus/discussions)** pages.
[GitHub Discussions](https://github.com/xpack/xpack.github.io/discussions)** pages.

:::

Expand Down
24 changes: 12 additions & 12 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ const config: Config = {
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: process.env.DOCUSAURUS_BASEURL ??
'/web-preview-docusaurus/',
'/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'xpack', // Usually your GitHub org/user name.
projectName: 'web-preview-docusaurus', // Usually your repo name.
projectName: 'xpack.github.io', // Usually your repo name.

onBrokenAnchors: 'throw',
onBrokenLinks: 'throw',
Expand Down Expand Up @@ -103,7 +103,7 @@ const config: Config = {
sidebarPath: './sidebars.ts',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl: 'https://github.com/xpack/web-preview-docusaurus/edit/master/website/',
editUrl: 'https://github.com/xpack/xpack.github.io/edit/master/website/',
// showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
Expand All @@ -115,7 +115,7 @@ const config: Config = {
},
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl: 'https://github.com/xpack/web-preview-docusaurus/edit/master/website/',
editUrl: 'https://github.com/xpack/xpack.github.io/edit/master/website/',
// Useful options to enforce blogging best practices
onInlineTags: 'warn',
onInlineAuthors: 'warn',
Expand Down Expand Up @@ -173,7 +173,7 @@ const config: Config = {
attributes: {
rel: 'icon',
type: 'image/png',
href: '/web-preview-docusaurus/favicons/favicon-48x48.png',
href: '/favicons/favicon-48x48.png',
sizes: '48x48'
}
},
Expand All @@ -182,14 +182,14 @@ const config: Config = {
attributes: {
rel: 'icon',
type: 'image/svg+xml',
href: '/web-preview-docusaurus/favicons/favicon.svg'
href: '/favicons/favicon.svg'
}
},
{
tagName: 'link',
attributes: {
rel: 'shortcut icon',
href: '/web-preview-docusaurus/favicons/favicon.ico'
href: '/favicons/favicon.ico'
}
},
{
Expand All @@ -204,7 +204,7 @@ const config: Config = {
tagName: 'link',
attributes: {
rel: 'manifest',
href: '/web-preview-docusaurus/favicons/site.webmanifest'
href: '/favicons/site.webmanifest'
}
}
],
Expand Down Expand Up @@ -258,7 +258,7 @@ const config: Config = {
]
},
{
href: 'https://github.com/xpack/web-preview-docusaurus/',
href: 'https://github.com/xpack/xpack.github.io/',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
Expand Down Expand Up @@ -300,7 +300,7 @@ const config: Config = {
items: [
{
label: 'GitHub Discussions',
href: 'https://github.com/xpack/web-preview-docusaurus/discussions',
href: 'https://github.com/xpack/xpack.github.io/discussions',
},
{
label: 'Stack Overflow',
Expand All @@ -324,8 +324,8 @@ const config: Config = {
href: 'https://www.paypal.com/donate/?hosted_button_id=5MFRG9ZRBETQ8',
},
{
label: 'GitHub web-preview-docusaurus',
href: 'https://github.com/xpack/web-preview-docusaurus/',
label: 'GitHub xpack.github.io',
href: 'https://github.com/xpack/xpack.github.io/',
},
{
label: 'GitHub xpack',
Expand Down
4 changes: 2 additions & 2 deletions website/static/favicons/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"short_name": "xPack",
"icons": [
{
"src": "/web-preview-docusaurus/favicons/web-app-manifest-192x192.png",
"src": "/favicons/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-preview-docusaurus/favicons/web-app-manifest-512x512.png",
"src": "/favicons/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
Expand Down

0 comments on commit 005b650

Please sign in to comment.