Coder Social home page Coder Social logo

quarkusio / quarkusio.github.io Goto Github PK

View Code? Open in Web Editor NEW
154.0 28.0 358.0 1.24 GB

Website for Quarkus project

Home Page: https://quarkus.io

Ruby 0.24% CSS 0.97% JavaScript 3.04% Java 1.28% Python 0.63% 1C Enterprise 0.05% HTML 88.92% SCSS 1.98% Cypher 0.04% Shell 0.02% Jupyter Notebook 2.83%

quarkusio.github.io's Introduction

Quarkus.io Website Based on Jekyll

Getting Started

These instructions will get you a copy of the Quarkus.io website up and running on your local machine for development and testing purposes.

Installation

Using Docker or Podman

  1. Install Docker Desktop or Podman Desktop.

  2. Fork the project repository, then clone your fork.

     git clone [email protected]:YOUR_USER_NAME/quarkusio.github.io.git
    
  3. Change into the project directory:

     cd quarkusio.github.io
    
  4. Run Docker Compose using compose.sh

     compose.sh
    
  5. OR run docker compose manually setting SELINUX to "Z:" or "" dependent on OS:

     _SELINUX_=Z: docker-compose up # Linux
     _SELINUX_=   docker-compose up # Mac or Windows
    
  6. Now browse to http://localhost:4000

Using a local Ruby environment

Jekyll static site generator docs.

  1. Install a full Ruby development environment. If you use rvm, run: rvm use 3.2.3.

  2. Install bundler gems

     gem install bundler
    
  3. Fork the project repository, then clone your fork.

     git clone [email protected]:YOUR_USER_NAME/quarkusio.github.io.git
    
  4. Change into the project directory:

     cd quarkusio.github.io
    
  5. Use bundler to fetch all required gems in their respective versions

     bundle install
    
  6. Build the site and make it available on a local server

     ./serve.sh
    

    Or if you want it faster and okay to not have guides included use the following:

     ./serve-noguides.sh
    
  7. Now browse to http://localhost:4000

If you encounter any unexpected errors during the above, please refer to the troubleshooting page or the requirements page, as you might be missing development headers or other prerequisites.

For more regarding the use of Jekyll, please refer to the Jekyll Step by Step Tutorial.

Deploying to GitHub Pages

The website deployment is automatically performed by GitHub Actions (when commits are pushed to the develop branch). If for some reason you need to deploy from your local machine, follow these instructions:

  1. Install the act executable to run GitHub Actions locally
  2. Run act -s GITHUB_TOKEN=<GITHUB_TOKEN>, where <GITHUB_TOKEN> needs to be replaced with a token that allows you to push to the https://github.com/quarkusio/quarkusio.github.io repository.

Writing a blog

To write a blog:

  • create an author entry in _data/authors.yaml

  • create an blog entry under _posts

    • the file name is yyyy-mm-dd-slug.adoc Set the date to the same value in the asciidoc preamble.
  • tags should be used with some care as an archive page is created for of them. Below are some basic rules to try follow:

    • quarkus-release used for Quarkus release blogs
    • announcement used for general announcement with some impact.
    • extension used for blogs related to a specific extension.
    • user-story used for stories from users/companies adopting Quarkus.
    • development-tips used for blogs with tips to develop using Quarkus or Quarkus itself.
    • add a tech specific, like kafka, if your post has a significant mention/relevance to that technology.
    • tags is space separated list tags:extension grpc
    • tags must be in lowercase
  • it's in asciidoc format, there is an example as shown with 2019-06-05-quarkus-and-web-ui-development-mode.adoc

    • Be aware that the date attribute in the asciidoc preamble defines when the article will be published. Add a --future flag when testing locally to ensure the article is included in the generated site.
  • send a pull request against the develop branch and voilà

Translations/Localization (l10n)

The primary site (quarkus.io) is written in English.

There are separate repositories for community driven localized versions of quarkus.io:

If you want to contribute to those efforts read the README in those projects. If you would like to start another translation, please open an issue in this main repo.

Enable DNS for l10n site

Once a localized site has enough of its content translated, DNS needs to be enabled. To do that get one of the Red Hat admins to submit a ticket to IT asking for XX domain:

We need a CNAME record set up for XX.quarkus.io to have it serve out GitHub pages. 

The CNAME record for XX.quarkus.io should point to "quarkusio.github.io.".

See Step 5 on https://docs.github.com/en/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site for more information.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Important: the guides are maintained in the main Quarkus repository and pull requests should be submitted there: https://github.com/quarkusio/quarkus/tree/main/docs/src/main/asciidoc.

License

This website is licensed under the Creative Commons Attribution 3.0.

quarkusio.github.io's People

Contributors

actions-user avatar adelasofia avatar agoncal avatar aloubyansky avatar aureamunoz avatar cealsair avatar cescoffier avatar dmlloyd avatar ebullient avatar emmanuelbernard avatar fromage avatar gastaldi avatar geoand avatar gsmet avatar holly-cummins avatar ia3andy avatar insectengine avatar jclingan avatar jeffmaury avatar jkbrock avatar jmesnil avatar kenfinnigan avatar maxandersen avatar mkouba avatar n1hility avatar paulrobinson avatar rsvoboda avatar sberyozkin avatar ynojima avatar yrodiere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quarkusio.github.io's Issues

Links in the header navigation are 'sticky'

Start from the top level page and click on any of the links in the header navigation, for ex, 'Get Started'. Now 'Get Started' is underlined with the green line as expected. Move the cursor to the next link, 'Guildes' - you will see both 'Get Started' and 'Guildes' being underlined at the same time

List guides by categories

0-glossary.adoc -> ignore
application-configuration-guide.adoc -> Core (first / no category)
application-lifecycle-events-guide.adoc -> Core (first / no category)
attributes.adoc -> ignore
building-native-image-guide.adoc -> Getting started
building-substrate-howto.adoc -> ignore
cdi-reference.adoc -> Core (first / no category)
cli-tooling.adoc -> ignore
docinfo.html -> ignore
extension-authors-guide.adoc -> Writing extensions
faq.adoc -> ignore
getting-started-guide.adoc -> Getting started
getting-started-knative-guide.adoc -> Cloud
getting-started-testing.adoc -> Core (first / no category)
gradle-config.adoc -> ignore
gradle-tooling.adoc -> Tooling
hibernate-orm-guide.adoc -> Data
hibernate-orm-panache-guide.adoc -> Data
images -> ignore
index.adoc -> ignore
infinispan-client-guide.adoc -> Data
jwt-guide.adoc -> Web and Security
kotlin.adoc -> Alternative languages
kubernetes-guide.adoc -> Cloud
logging-guide.adoc -> core (first / no category)
maven-tooling.adoc -> Tooling and Getting started
native-and-ssl-guide.adoc -> Core (first / no category)
opentracing-guide.adoc -> Observability
performance-measure.adoc -> Miscellanous
quarkus-intro.adoc -> ignote
README.adoc -> ignore
rest-client-guide.adoc -> Web
rest-json-guide.adoc -> Web, Serialization
scheduled-guide.adoc -> Miscellanous
security-guide.adoc -> Security
spring-di-guide.adoc -> Migration
tooling.adoc -> Tooling
transaction-guide.adoc -> Data
validation-guide.adoc -> Data, Web
websocket-guide.adoc -> Web

Code blocks have odd indentation

Code blocks have odd initial indentation:

screen shot 2019-03-06 at 1 38 38 pm

I couldn't figure out why this is happening; there does not seem to be any initial space or any CSS that affects this.

Additional logos for the home page

On the home page we have a list of logos (hibernate, resteasy, vert.x, microprofile, etc) for projects that Quarkus consumes or interoperates with. Please add the following logos:

Kubernetes:
image
Jaeger:
image
OpenShift:
image
Prometheus
image

Callouts not rendering

Callouts aren't working:

asciidoctor: WARNING: getting-started-knative-guide.adoc: line 113: no callout found for <1>
                    ...done in 1.187541 seconds.

It might magically start working once #43 is resolved.

Issues to fix on the website

Mandatory

  • Fix mailing list + Zulip link on front page
  • Fix license information in footer: the dependencies are not all AL2 and is LGPL compatible with AL2?
  • Fix link to https://jbossorg.github.io/protean/guides/json-and-validation-guide, it should be validation-guide
  • Check all the guides are up to date and correctly linked (we added a few very late)
  • Fix case of cohesive platform from config to build. on home page
  • Should the GitHub link points to the org (as it is now) or to the quarkus project?

Nice to have

  • Bob was wondering if we should point directly to the GraalVM download page from https://jbossorg.github.io/protean/get-started/ , instead of the home page
  • Fix the first line alignment issue in code blocks
  • Remove the scrollbars from code
  • Syntax highlighting for code

Choose a monospace font

And do whatever CSS magic is necessary to ensure that the font is available on user agents.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.