GithubHelp home page GithubHelp logo

qpc-github / systemds-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/systemds-website

1.0 2.0 1.0 92.8 MB

Apache SystemDS Website

Home Page: https://systemds.apache.org/

License: Apache License 2.0

JavaScript 8.06% HTML 53.49% SCSS 36.33% Rich Text Format 2.11%

systemds-website's Introduction

Apache SystemDS Website

If you would like to develop on the browser:

Open in Gitpod online

Dependencies

Node.js and npm

Install node.js and npm.

Recommended: Node 16.x, npm 8.x. Node 19.x is not supported yet.

Gulp

We use Gulp to compile Sass and JS as well as run the Jekyll build. It can be installed with npm as:

sudo npm install -g gulp

๐Ÿ“If you are upgrading build system, checkout notes on upgrades.

Building the website

Click to see instructions

Download website dependencies

npm install

Build website contents

gulp

If all goes well it open the site in your browser at http://localhost:3000.

Troubleshooting

Error: spawn jekyll.bat ENOENT can be resolved by

gem install jekyll

If you are still facing the issue, perhaps the discussion here might would give some pointers.

Updating the website

After generating files by following above instructions.

Click to see instructions

  1. Create a new branch (for example, update-website) from the asf-staging branch.
git checkout asf-staging
git checkout -b update-website
  1. Copy the generated files to the website content folder.
cp -r _site/* content/
git add content/*
git commit -m "Update SystemDS website with latest changes"
  1. Add changes to the personal fork and create a PR against asf-staging branch.
git push https://github.com/<id>/systemds-website update-website

An example, PR#83.

Release Docs

Instruction for adding release specific version of docs to https://systemds.apache.org/docs

Click to see instructions

Step 0: Prerequisites

git clone https://github.com/apache/systemds
git clone https://github.com/apache/systemds-website

Step 1:

generate docs with as per https://github.com/apache/systemds/tree/main/docs

1.1. API Documentation

# In this case the release tag is 2.1.0-rc3
git checkout 2.1.0-rc3

cd systemds/docs

./updateAPI.sh

1.2. Documentation website

# Build jekyll based docs

jekyll serve -w

Step 2:

copy the contents to systemds-website repo

cd systemds-website

# create a new directory with release no.
mkdir content/docs/2.1.0

# copy the files in docs/_site folder to 2.1.0
cp -r ../systemds/docs/_site/* content/docs/2.1.0

Then follow, https://github.com/apache/systemds-website#updating-the-website

Step 3:

Open a PR against asf-staging branch.

Example PR: apache#94

Website Preview at https://systemds.staged.apache.org

Step 4:

Production release via asf-site branch. For this approval from the team is recommended.

Example PR: apache#95

Now, sync asf-staging and asf-site as:

# apply asf-staging commits onto asf-site
git rebase asf-staging asf-site

git push origin asf-site

Important: Along with this update project metadata by modifying release_version: in _src/_data/project.yml

And Update links in the documentation page as 9203626

How to add new dataset

To add a new dataset,

  1. create <dataset-name>.md file in the _src/_datasets folder.
  2. Upload dataset files to _src/assets/datasets/<dataset-name> folder.

And follow the Updating the website procedure.

How to add contributors to community page

  1. Get the details from https://people.apache.org/phonebook.html
  2. Example PR: PR#104

And follow follow, Updating the website procedure.

systemds-website's People

Contributors

asurve avatar baunsgaard avatar bertholdreinwald avatar dependabot[bot] avatar deroneriksson avatar dusenberrymw avatar ganjiakhil avatar gweidner avatar j143 avatar jason-azares avatar jazares avatar lresende avatar objectadjective avatar steveineitertu avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.