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

fix license headers and some other small things in the website #773

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 8 additions & 9 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

permalink: /404.html
layout: default
---
Expand Down
1 change: 1 addition & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
Expand Down
17 changes: 9 additions & 8 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ These instructions will get you a copy of the eclipse-ee4j.github.io/cdi/ websit

3. Fork the [project repository](https://github.com/eclipse-ee4j/cdi), then clone your fork.

git clone https://github.com/eclipse-ee4j/cdi
git clone https://github.com/jakartaee/cdi

4. Change into the project directory:

Expand All @@ -44,17 +44,18 @@ These instructions will get you a copy of the eclipse-ee4j.github.io/cdi/ websit
**For more regarding the use of Jekyll, please refer to the [Jekyll Step by Step Tutorial](https://jekyllrb.com/docs/step-by-step/01-setup/).**

## Writing a Blog Post

To write a blog:

- create an author entry in [_authors](https://github.com/eclipse-ee4j/cdi/tree/master/docs/_authors)
- create an blog entry under [_posts](https://github.com/eclipse-ee4j/cdi/tree/master/docs/_posts)
-the file name is `yyyy-mm-dd-slug.adoc`
- `tags` should be used with some care as an archive page is created for of them. Below are some basic rules to try follow:
- create an author entry in [_authors](https://github.com/jakartaee/cdi/tree/master/docs/_authors)
- create a blog entry under [_posts](https://github.com/jakartaee/cdi/tree/master/docs/_posts)
- the file name is `yyyy-mm-dd-slug.adoc`
- `tag` or `tags` should be used with some care as an archive page is created for of them. Below are some basic rules to follow:
- `cdi-release` used for CDI release blogs
- `announcement` used for general announcement with some impact.
- `development-tips` used for blogs with tips to develop with CDI.
- tags are space separated list `tags:cdi-release announcement`
- tags must be in lowercase
- it's in markdown format, there is an example as shown with [2021-10-25-way-to-cdi4.md](https://github.com/eclipse-ee4j/cdi/blob/master/docs/_posts/2021-10-25-way-to-cdi4.md)
- Be aware that the `date` attribute in the asciidoc preamble defines when the article will be published. Use a present date while writing your article to test locally, then switch to the actual target date before submitting.
- send a pull request against the master branch and when it is merged it will be automatically incorporated into the pages site.
- it's in Markdown format, see [2021-10-25-way-to-cdi4.md](https://github.com/jakartaee/cdi/blob/master/docs/_posts/2021-10-25-way-to-cdi4.md) for example
- the `date` attribute in the front matter defines when the article will be published. Use a present date while writing your article to test locally, then switch to the actual target date before submitting.
- send a pull request against the `main` branch and when it is merged it will be automatically incorporated into the site.
19 changes: 9 additions & 10 deletions docs/_authors/asd.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

short_name: asd
name: Antoine Sabot-Durand
position: Software Engineer
---
https://github.com/antoinesd
[https://github.com/antoinesd](https://github.com/antoinesd)
19 changes: 9 additions & 10 deletions docs/_authors/ladt.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

short_name: ladt
name: Ladislav Thon
position: Software Engineer
---
https://github.com/Ladicek
[https://github.com/Ladicek](https://github.com/Ladicek)
19 changes: 9 additions & 10 deletions docs/_authors/matn.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

short_name: matn
name: Matej Novotny
position: Software Engineer
---
https://github.com/manovotn
[https://github.com/manovotn](https://github.com/manovotn)
19 changes: 9 additions & 10 deletions docs/_authors/starksm.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

short_name: starksm
name: Scott M Stark
position: Software Engineer
---
https://github.com/starksm64
[https://github.com/starksm64](https://github.com/starksm64)
5 changes: 3 additions & 2 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
Expand All @@ -28,9 +29,9 @@
title: Jakarta CDI
email: cdi-dev@eclipse.org
description: >- # this means to ignore newlines until "baseurl:"
This is the pages site for the Jakarta Contents and Dependency Injection API and Specifications project.
This is the site for the Jakarta Contexts and Dependency Injection API and Specification project.
baseurl: "/cdi" # the subpath of your site, e.g. /blog
url: "https://eclipse-ee4j.github.io" # the base hostname & protocol for your site, e.g. http://example.com
url: "https://jakartaee.github.io" # the base hostname & protocol for your site, e.g. http://example.com
#twitter_username:
#github_username:

Expand Down
1 change: 1 addition & 0 deletions docs/_data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

- name: Home
link: /
- name: About
Expand Down
17 changes: 8 additions & 9 deletions docs/_layouts/author.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

layout: default
---
<h1>{{ page.name }}</h1>
Expand Down
17 changes: 8 additions & 9 deletions docs/_layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

layout: default
---
<h1>{{ page.title }}</h1>
Expand Down
26 changes: 12 additions & 14 deletions docs/_posts/2021-10-25-pages-here.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
layout: post
title: "Jakarta CDI GitHub Pages"
date: 2021-10-25 22:08:50 -0500
categories: announcement
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

title: "Jakarta CDI GitHub Pages"
date: 2021-10-25 22:08:50 -0500
author: starksm
tag: announcement
---

# CDI GitHub Pages

The GitHub pages for Jakarta CDI has arrived. See the [README.md](https://github.com/eclipse-ee4j/cdi/tree/master/docs/README.md) file for how to build the pages site locally, and how to create a blog entry.
The GitHub pages for Jakarta CDI has arrived. See the [README.md](https://github.com/jakartaee/cdi/tree/master/docs/README.md) file for how to build the pages site locally, and how to create a blog entry.
22 changes: 9 additions & 13 deletions docs/_posts/2021-10-25-way-to-cdi4.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

title: "On the Way to CDI 4.0"
summary: Overview of changes coming to CDI 4.0
layout: post
author: matn
tag: Release
priority: 1
change_frequency: daily
tag: release
---

As you probably know, work is well under way for projects aiming to land in Jakarta EE 10 space and CDI is no exception. In fact, the specification is close to being rounded up for its next major release hence it is the right time to summarize what is coming.
Expand Down
22 changes: 9 additions & 13 deletions docs/_posts/2021-12-03-you-know-build-compatible-extensions.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

title: "You already know Build Compatible Extensions"
summary: Comparison of Portable Extensions and Build Compatible Extensions
layout: post
author: ladt
tag: development-tips
priority: 1
change_frequency: daily
---

As you have learned from a [previous post](https://eclipse-ee4j.github.io/cdi/2021/10/25/way-to-cdi4.html), CDI Lite comes with a new extension API called _Build Compatible Extensions_.
As you have learned from a [previous post](https://jakartaee.github.io/cdi/2021/10/25/way-to-cdi4.html), CDI Lite comes with a new extension API called _Build Compatible Extensions_.
In this post, you will learn more about this API by comparison with _Portable Extensions_ and my hope is that by the end, you will see that _you already know Build Compatible Extensions_.

If you don't know Portable Extensions, don't worry.
Expand Down
24 changes: 11 additions & 13 deletions docs/_posts/2022-01-24-400-RC3-spec.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<!--
Copyright (c) 2022 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
layout: post
title: "Jakarta CDI 4.0 Draft Specification"
date: 2022-01-24 20:00:00 -0500
categories: announcement
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0

title: "Jakarta CDI 4.0 Draft Specification"
date: 2022-01-24 20:00:00 -0500
author: starksm
tag: announcement
---

A draft of the 4.0 CDI specification is available in the current build of the 4.0.0-RC3 API [jakarta-cdi-spec-4.0.pdf](https://ci.eclipse.org/cdi/job/CDI%20Release-JDK11/25/artifact/spec/target/generated-docs/jakarta-cdi-spec-4.0.pdf).
Expand Down