fix: correct invalid LinkedIn social handle in blog authors config#2
Draft
ayadseghairi with Copilot wants to merge 2 commits into
Draft
fix: correct invalid LinkedIn social handle in blog authors config#2ayadseghairi with Copilot wants to merge 2 commits into
ayadseghairi with Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/geekdz40/geekdz-docs/sessions/479719e9-4f3c-4789-abda-5447630abbe1 Co-authored-by: ayadseghairi <85361584+ayadseghairi@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix illegal value for linkedin social platform
fix: correct invalid LinkedIn social handle in blog authors config
Apr 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docusaurus 3.10.0 requires author social values to be either a bare username/handle or a fully qualified
https://URL. Thelinkedinentry inblog/authors.ymlwas set to a partial path (in/ayad-seghiri/), causing the dev server to fail on startup.Change
blog/authors.ymllinkedinsocial value from partial path to absolute URL:Original prompt
ayad@fedora:~/Documents/geekdz-docs$ npm run start
[INFO] Starting the development server...
[ERROR] Error: Author socials should be usernames/userIds/handles, or fully qualified HTTP(s) absolute URLs.
[Chronological Review: The conversation began with the user requesting updates to the `docusaurus.config.js` file to configure SEO and enable dynamic sitemap generation. The user specified exact changes to the `url`, `baseUrl`, and `sitemap` properties. The user then requested to create a new `sitemap.xml` file and later checked the local URL for the sitemap. Following that, the user requested to delete unnecessary files. The conversation culminated in the user attempting to start the Docusaurus development server, which resulted in an error related to author social links.]Social platform 'linkedin' has illegal value 'in/ayad-seghiri/'
at normalizeSocialEntry (/home/ayad/Documents/geekdz-docs/node_modules/@docusaurus/plugin-content-blog/lib/authorsSocials.js:54:15)
at Array.map ()
at normalizeSocials (/home/ayad/Documents/geekdz-docs/node_modules/@docusaurus/plugin-content-blog/lib/authorsSocials.js:66:55)
at normalizeAuthor (/home/ayad/Documents/geekdz-docs/node_modules/@docusaurus/plugin-content-blog/lib/authorsMap.js:82:73)
at /home/ayad/Documents/geekdz-docs/node_modules/@docusaurus/plugin-content-blog/lib/authorsMap.js:87:16
at /home/ayad/Documents/geekdz-docs/node_modules/lodash/lodash.js:13500:38
at /home/ayad/Documents/geekdz-docs/node_modules/lodash/lodash.js:4998:15
at baseForOwn (/home/ayad/Documents/geekdz-docs/node_modules/lodash/lodash.js:3037:24)
at Function.mapValues (/home/ayad/Documents/geekdz-docs/node_modules/lodash/lodash.js:13499:7)
at normalizeAuthorsMap (/home/ayad/Documents/geekdz-docs/node_modules/@docusaurus/plugin-content-blog/lib/authorsMap.js:86:29)
[INFO] Docusaurus version: 3.10.0
Node version: v22.22.0
[Intent Mapping:
docusaurus.config.jsfile to configure SEO and enable dynamic sitemap generation..." - User wants to enhance SEO and sitemap functionality.[Technical Inventory:
docusaurus.config.jsfor SEO and sitemap settings.[Code Archaeology:
docusaurus.config.js: User requested specific updates to theurl,baseUrl, andsitemapproperties.sitemap.xml: User requested its creation and later checked its accessibility.][Progress Assessment:
docusaurus.config.jsfile.sitemap.xmlis pending confirmation of successful generation and the resolution of the Docusaurus server error.][Context Validation: All necessary context for continuing work on the Docusaurus configuration and sitemap generation is captured, including the recent error encountered.]
[Recent Commands Analysis:
npm run startto start the Docusaurus server.1. Conversation Overview: - Primary Objectives: - "Please update my `docusaurus.config.js` file to configure SEO and enable dynamic sitemap generation..." - "new create the sitemap.xml file" - "إحذف جميع الملفات الزائدة والتي لا فائدة منها" - "npm run start" - Session Context: The conversation focused on configuring a Docusaurus documentation platform, specifically enhancing SEO and sitemap functionality, followed by attempts to start the development server. - User Intent Evolution: The user transitioned from configuration requests to testing the setup, indicating readiness to implement changes.- Technical Foundation:
- Docusaurus: Version 3.10.0, used for building documentation sites.
- Configuration:
- Codebase Status:
- File Name:
- Purpose: Configures the Docusaurus site settings.
- Current State: Awaiting updates for SEO and sitemap generation.
- Key Code Segments: Updates to
docusaurus.config.jsfor SEO and sitemap settings.docusaurus.config.jsurl,baseUrl, and `site...Created from VS Code.