Skip to content

Commit

Permalink
Migrate robolectric.org to use MkDocs (#212)
Browse files Browse the repository at this point in the history
* Update Robolectric website

* Update MkDocs and MkDocs Material

* Fix javadoc URLs

* Continue deploying from the `new_website` branch until ready to merge

* Fix anchor in `device-configuration.md`

* Disable the footer feature

* Automatically create excerpt for blog posts

* Update mkdocs-material
  • Loading branch information
MGaetan89 committed Apr 29, 2024
1 parent c6bf2c8 commit 4fec7e9
Show file tree
Hide file tree
Showing 609 changed files with 697 additions and 119,887 deletions.
5 changes: 3 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
version: 2

updates:
- package-ecosystem: "bundler"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
29 changes: 0 additions & 29 deletions .github/workflows/build-with-jekyll.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Deploy website"

on:
push:
branches: [ master, "new_website" ]

jobs:
deploy_website:
name: "Deploy website"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x
cache: 'pip'

- name: Install necessary tools
run: pip install -r requirements.txt

- name: Copy Javadoc
run: cp -r javadoc/ docs/javadoc/

- name: Deploy website
run: mkdocs gh-deploy --force
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
_site
build
.idea
.bundle
.sass-cache
.DS_Store
*.iml
*.ipr
*.iws
vendor
.jekyll-cache
.jekyll-metadata
site/
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

33 changes: 0 additions & 33 deletions Gemfile

This file was deleted.

0 comments on commit 4fec7e9

Please sign in to comment.