Bump concurrent-ruby from 1.3.4 to 1.3.7 (#236)
Bumps concurrent-ruby from 1.3.4 to 1.3.7.
updated-dependencies:
- dependency-name: concurrent-ruby dependency-version: 1.3.7 dependency-type: indirect …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Apache Fluo website
Code powering the Apache Fluo website (https://fluo.apache.org). Contributing describes how to test locally.
Update website for new release
Below are the steps required to update the Fluo project website for a new release of Fluo or Fluo Recipes. The steps below assume you are releasing Fluo 1.2.0. For a Fluo Recipes release, replace any reference to
fluowithrecipes.Confirm that Javadocs for the release are hosted externally
Modify
_config.ymlfor the new release:latest_fluo_releaseto1.2.0fluo-1-2collectionRemove the “Future release” warning from the Fluo docs layout in
_layouts/fluo-1.2.htmlAdd link to 1.2 documentation in
docs/index.md.Add link to 1.2 javadocs in
pages/api.md.If a post exists for the release in
_posts/release, update the date and removedraft: truefrom the post to publish it. Otherwise, create a post with release notes and resources to announce the release.Create documentation for next release
Below are steps to create documentation for the next release of Fluo or Fluo Recipes. The directions below are for creating Fluo 1.3 docs from 1.2 docs. For Fluo Recipes documentation, replace any reference to
fluowithrecipes.Create the Fluo 1.3 docs from the 1.2 docs
Create a
fluo-1.3.htmllayout and update any collection references in it tofluo-1-3. You should also add a warning banner to notify users that it’s for a future release.Update
_config.ymlby adding afluo-1-3collection and setting default values for it. You may want to keep 1.2 values for github & javadocs until 1.3 is released.Publishing
Changes pushed to our
mainbranch will automatically trigger Jekyll to build our site from that branch and push the result to ourasf-sitebranch, where they will be served on our production site.Testing using Docker environment
A containerized development environment can be built using the local Dockerfile. You can build it with the following command:
This action will produce a
fluo-site-devimage, with all the website’s build prerequisites preinstalled. When a container is run from this image, it will perform ajekyll servecommand with the polling option enabled, so that changes you make locally will be immediately reflected after reloading the page in your browser.When you run a container using the
fluo-site-devimage, your current working directory will be mounted, so that any changes made by the build inside the container will be reflected in your local workspace. This is done with the-vflag. To run the container, execute the following command:While this container is running, you will be able to review the rendered website in your local browser at the address printed in the shell (http://0.0.0.0:4000/).
Appending
/bin/bashto the end of the docker command above will provide shell access. This is useful for adding new gems, or modifying the Gemfile.lock for updating existing dependencies. When using shell access, the local directory must be mounted to ensure the Gemfile and Gemfile.lock updates are reflected in your local environment so you can create a commit and submit a PR.You may need to manually delete the
_siteor.jekyll-cachedirectories if they already exist and are causing issues with the build.