Skip to content

Conversation

@ttelang
Copy link
Contributor

@ttelang ttelang commented Aug 26, 2025

Fix for #58

This pull request contains the following changes:

  • Updating the newest code and automation improvements.
  • Updates GitHub Actions workflows for improved CI/CD reliability.

The following are the changes in details:

Removed unused font files

  • build/site/_/font/*.woff, *.woff2:

Removing unused workflow files

  • .github/workflows/
    - antora.yml: Removed legacy Antora workflow for site generation.
    - pages-antora.yml: Removed duplicate workflow for Antora-based GitHub Pages deployment.
    - pages-static.yml: Removed old workflow for deploying static content.
    - static.yml: Removed outdated static site deployment workflow.

  • .gitignore: Added Antora build output directory to ignored files.

  • README.adoc:
    expanded Antora and GitHub Actions documentation, clarified build instructions, workflow details.

  • antora-assembler.yml:
    Updated Antora site and PDF output configuration, changed content source URL, added comments for extension settings.

  • antora.yml:
    Enhanced Antora component metadata with comments

Updating the build assets to latest (initially used for testing and to be used as default assets in case workflow fails to generate them for any reason). This entire build folder can be added to .gitignore going forward.

  • build/assembler/microprofile-tutorial/6.1/microprofile-tutorial.pdf:
  • build/site/404.html:
  • build/site/_/css/site.css:
  • build/site/_/js/site.js:
  • build/site/favicon.ico
  • build/site/index.html
  • build/site/microprofile-tutorial/6.1/README.html
  • build/site/microprofile-tutorial/6.1/chapter01/chapter01.html

ttelang and others added 30 commits February 23, 2024 04:28
Uploading Mindmap image for MicroProfile Architecture Philosophy
Adding content for Chapter01 - Introduction to MicroProfile
Incorporating feedbacks about MicroProfile History from @aeiras
Updating MPWG members
Need for MicroProfile
MicroProfile Platform Component Specifications
Standalone (Outside Umbrella) Specifications
Standalone (Outside Umbrella) Specifications
MicroProfile Implementations
Architecture Philosophy
Relationship with Jakarta EE specification
Incorportating suggestions from microprofile#5
Co-authored-by: Emily Jiang <emijiang6@googlemail.com>
Co-authored-by: Emily Jiang <emijiang6@googlemail.com>
Setting up your IDE - part 1
Setting up MicroProfile Runtime
MicroProfile Starter
ttelang added 19 commits July 13, 2025 20:22
feat: enhance PDF generation and download handling with timestamps
feat: clean previous build directory and enhance PDF generation verif…
…lity

- Updated the <lastmod> timestamps for all URLs in sitemap.xml to reflect the latest modification date.
- Added a script in head-meta.hbs to force PDF links to download instead of opening in the browser, enhancing user experience.
- Updated .htaccess to set proper MIME type for PDF files and ensure correct serving.
- Modified .gitignore to include Antora build output directory.
- Adjusted PDF metadata for creation and modification dates.
- Updated 404.html and README.html to ensure PDF links point to the correct absolute path and include download attributes.
- Refactored JavaScript in multiple chapter HTML files to ensure PDF links are correctly configured for downloading.
- Updated sitemap.xml with new last modified dates for all pages.
- Updated head-meta.hbs to ensure PDF links are correctly configured for downloading.
@Emily-Jiang
Copy link
Member

There are many files in this PR and some commits from last year. Can you tidy up this PR @ttelang as it is still marked as draft?

Copy link
Contributor Author

@ttelang ttelang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing to Final review from Draft stage.

@ttelang ttelang marked this pull request as ready for review September 15, 2025 15:30
@ttelang ttelang changed the title Updating Github Actions and merging the latest code from ttelang/microprofile-tutorial repo. Sync Latest Code and Update GitHub Actions Sep 15, 2025
Fix for microprofile#58

Update build-and-deploy-tutorial.yml to execute the upate-repo-url.sh so that we get the correct edit URL in the generated HTML files.
@ttelang ttelang changed the title Sync Latest Code and Update GitHub Actions [Fix #58] Sync Latest Code and Update GitHub Actions Sep 22, 2025
@Emily-Jiang Emily-Jiang merged commit a192733 into microprofile:main Sep 22, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants