You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "400Ping (via GitHub)" <gi...@apache.org> on 2026/01/26 06:04:40 UTC

[PR] Add blog authors metadata [mahout]

400Ping opened a new pull request, #947:
URL: https://github.com/apache/mahout/pull/947

   ### Purpose of PR
   Define the `mahout-team` blog author used across posts
   log error:
   ```
   Error: Processing of blog source file path=2019-12-14-version-14-1.md failed.
   [cause]: Error: Can't reference blog post authors by a key (such as 'mahout-team')
   because no authors map file could be loaded.
   Please double-check your blog plugin config...
   ```
   
   ### Related Issues or PRs
   <!-- Add links to related issues or PRs. -->
   <!-- - Closes #123  -->
   <!-- - Related to #123   -->
   
   ### Changes Made
   <!-- Please mark one with an "x"   -->
   - [ ] Bug fix
   - [ ] New feature
   - [x] Refactoring
   - [ ] Documentation
   - [ ] Test
   - [ ] CI/CD pipeline
   - [ ] Other
   
   ### Breaking Changes
   <!-- Does this PR introduce a breaking change? -->
   - [ ] Yes
   - [x] No
   
   ### Checklist
   <!-- Please mark each item with an "x" when complete -->
   <!-- If not all items are complete, please open this as a **Draft PR**.
   Once all requirements are met, mark as ready for review. -->
   
   - [ ] Added or updated unit tests for all changes
   - [ ] Added or updated documentation for all changes
   - [ ] Successfully built and ran all unit tests or manual tests locally
   - [ ] PR title follows "MAHOUT-XXX: Brief Description" format (if related to an issue)
   - [ ] Code follows ASF guidelines
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add blog authors metadata [mahout]

Posted by "ryankert01 (via GitHub)" <gi...@apache.org>.
ryankert01 commented on PR #947:
URL: https://github.com/apache/mahout/pull/947#issuecomment-3798223333

   Okay, I'll help with the screenshots this time.
   <img width="769" height="369" alt="截圖 2026-01-26 下午3 29 36" src="https://github.com/user-attachments/assets/498e4071-97aa-4797-87fc-f5eeb40d4415" />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add blog authors metadata [mahout]

Posted by "ryankert01 (via GitHub)" <gi...@apache.org>.
ryankert01 merged PR #947:
URL: https://github.com/apache/mahout/pull/947


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add blog authors metadata [mahout]

Posted by "ryankert01 (via GitHub)" <gi...@apache.org>.
ryankert01 commented on PR #947:
URL: https://github.com/apache/mahout/pull/947#issuecomment-3798225066

   the icon looks not good, we can have a followup for it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add blog authors metadata [mahout]

Posted by "400Ping (via GitHub)" <gi...@apache.org>.
400Ping commented on PR #947:
URL: https://github.com/apache/mahout/pull/947#issuecomment-3798185811

   Before:
   ```
   
   > mahout-website@0.5.0 prebuild
   > npm run sync
   
   
   > mahout-website@0.5.0 sync
   > node scripts/sync-docs.js
   
   Starting documentation sync...
   
   Docs Source: /Users/jiec/mahout/docs
   Docs Destination: /Users/jiec/mahout/website/docs
   
   Cleaning docs destination...
     Preserving: .gitignore
   
   Syncing documentation from /docs...
   
   Blog Source: /Users/jiec/mahout/docs/blog
   Blog Destination: /Users/jiec/mahout/website/blog
   
   Cleaning blog destination...
   
   Syncing blog posts from /docs/blog...
   
   Sync complete!
     Docs: 48 files, 11 directories
     Blog: 51 files, 0 directories
   
   > mahout-website@0.5.0 build
   > docusaurus build
   
   [INFO] [en] Creating an optimized production build...
   
   [ERROR] Error: Unable to build website for locale en.
       at tryToBuildLocale (/Users/jiec/mahout/website/node_modules/@docusaurus/core/lib/commands/build/build.js:83:15)
       at async /Users/jiec/mahout/website/node_modules/@docusaurus/core/lib/commands/build/build.js:35:9
       at async mapAsyncSequential (/Users/jiec/mahout/website/node_modules/@docusaurus/utils/lib/jsUtils.js:21:24)
       at async Command.build (/Users/jiec/mahout/website/node_modules/@docusaurus/core/lib/commands/build/build.js:34:5)
       at async Promise.all (index 0)
       at async runCLI (/Users/jiec/mahout/website/node_modules/@docusaurus/core/lib/commands/cli.js:56:5)
       at async file:///Users/jiec/mahout/website/node_modules/@docusaurus/core/bin/docusaurus.mjs:44:3 {
     [cause]: Error: Processing of blog source file path=2019-12-14-version-14-1.md failed.
         at doProcessBlogSourceFile (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/blogUtils.js:271:19)
         at async Promise.all (index 2)
         at async generateBlogPosts (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/blogUtils.js:274:24)
         at async Object.loadContent (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/index.js:155:29)
         at async /Users/jiec/mahout/website/node_modules/@docusaurus/core/lib/server/plugins/plugins.js:40:23
         at async Promise.all (index 2)
         at async /Users/jiec/mahout/website/node_modules/@docusaurus/core/lib/server/plugins/plugins.js:146:25
         at async loadSite (/Users/jiec/mahout/website/node_modules/@docusaurus/core/lib/server/site.js:155:45)
         at async buildLocale (/Users/jiec/mahout/website/node_modules/@docusaurus/core/lib/commands/build/buildLocale.js:33:18)
         at async runBuildLocaleTask (/Users/jiec/mahout/website/node_modules/@docusaurus/core/lib/commands/build/build.js:98:5) {
       [cause]: Error: Can't reference blog post authors by a key (such as 'mahout-team') because no authors map file could be loaded.
       Please double-check your blog plugin config (in particular 'authorsMapPath'), ensure the file exists at the configured path, is not empty, and is valid!
           at getAuthorsMapAuthor (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/authors.js:82:23)
           at toAuthor (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/authors.js:100:16)
           at Array.map (<anonymous>)
           at getFrontMatterAuthors (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/authors.js:58:42)
           at getBlogPostAuthors (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/authors.js:114:21)
           at processBlogSourceFile (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/blogUtils.js:215:54)
           at async doProcessBlogSourceFile (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/blogUtils.js:268:20)
           at async Promise.all (index 2)
           at async generateBlogPosts (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/blogUtils.js:274:24)
           at async Object.loadContent (/Users/jiec/mahout/website/node_modules/@docusaurus/plugin-content-blog/lib/index.js:155:29)
     }
   }
   [INFO] Docusaurus version: 3.9.2
   Node version: v22.14.0
   ┌─────────────────────────────────────────────────────────┐
   │          @docusaurus/core update check failed           │
   │           Try running with sudo or get access           │
   │          to the local update config store via           │
   │ sudo chown -R $USER:$(id -gn $USER) /Users/jiec/.config │
   └─────────────────────────────────────────────────────────┘
   ```
   
   After:
   ```
   
   > mahout-website@0.5.0 prebuild
   > npm run sync
   
   
   > mahout-website@0.5.0 sync
   > node scripts/sync-docs.js
   
   Starting documentation sync...
   
   Docs Source: /Users/jiec/mahout/docs
   Docs Destination: /Users/jiec/mahout/website/docs
   
   Cleaning docs destination...
     Preserving: .gitignore
   
   Syncing documentation from /docs...
   
   Blog Source: /Users/jiec/mahout/docs/blog
   Blog Destination: /Users/jiec/mahout/website/blog
   
   Cleaning blog destination...
   
   Syncing blog posts from /docs/blog...
   
   Sync complete!
     Docs: 48 files, 11 directories
     Blog: 52 files, 0 directories
   
   > mahout-website@0.5.0 build
   > docusaurus build
   
   [INFO] [en] Creating an optimized production build...
   [webpackbar] ℹ Compiling Client
   [webpackbar] ℹ Compiling Server
   [webpackbar] ✔ Server: Compiled successfully in 2.86s
   [webpackbar] ✔ Client: Compiled successfully in 3.95s
   [SUCCESS] Generated static files in "build".
   [INFO] Use `npm run serve` command to test your build locally.
   ┌─────────────────────────────────────────────────────────┐
   │          @docusaurus/core update check failed           │
   │           Try running with sudo or get access           │
   │          to the local update config store via           │
   │ sudo chown -R $USER:$(id -gn $USER) /Users/jiec/.config │
   └─────────────────────────────────────────────────────────┘
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add blog authors metadata [mahout]

Posted by "ryankert01 (via GitHub)" <gi...@apache.org>.
ryankert01 commented on PR #947:
URL: https://github.com/apache/mahout/pull/947#issuecomment-3798108762

   Could you provide before and after screenshots on both of your prs?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add blog authors metadata [mahout]

Posted by "400Ping (via GitHub)" <gi...@apache.org>.
400Ping commented on PR #947:
URL: https://github.com/apache/mahout/pull/947#issuecomment-3798046164

   cc @ryankert01 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add blog authors metadata [mahout]

Posted by "ryankert01 (via GitHub)" <gi...@apache.org>.
ryankert01 commented on PR #947:
URL: https://github.com/apache/mahout/pull/947#issuecomment-3798190547

   I thought I’ve fixed that omg!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org