Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: docs

on:
push:
branches: [master]
pull_request:

# allow the workflow to publish to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages-${{ github.event_name }}
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: "17"
cache: maven
# the javadoc of aima-core, published as the project site
- run: mvn -B -q -f aima-core/pom.xml -Dtarget.jdk.version=17 -Ddoclint=none org.apache.maven.plugins:maven-javadoc-plugin:3.11.2:javadoc
- run: mv "$(dirname "$(find aima-core/target -path '*apidocs/index.html' | head -1)")" site
- uses: actions/upload-pages-artifact@v5
with:
path: site

deploy:
if: github.event_name == 'push'
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# aima-java [![tests](https://github.com/aimacode/aima-java/actions/workflows/tests.yml/badge.svg)](https://github.com/aimacode/aima-java/actions/workflows/tests.yml) [![license](https://img.shields.io/github/license/aimacode/aima-java)](LICENSE) [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/aimacode/aima-java/master)
# aima-java [![tests](https://github.com/aimacode/aima-java/actions/workflows/tests.yml/badge.svg)](https://github.com/aimacode/aima-java/actions/workflows/tests.yml) [![license](https://img.shields.io/github/license/aimacode/aima-java)](LICENSE) [![docs](https://github.com/aimacode/aima-java/actions/workflows/docs.yml/badge.svg)](https://aimacode.github.io/aima-java/) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/aimacode/aima-java/master)

Java code for the book *[Artificial Intelligence: A Modern Approach](https://aima.cs.berkeley.edu)*.

Expand Down
7 changes: 0 additions & 7 deletions aima-all/.classpath

This file was deleted.

6 changes: 0 additions & 6 deletions aima-all/.gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions aima-all/.project

This file was deleted.

76 changes: 0 additions & 76 deletions aima-all/README.md

This file was deleted.

17 changes: 0 additions & 17 deletions aima-all/build.properties

This file was deleted.

45 changes: 0 additions & 45 deletions aima-all/build.xml

This file was deleted.