Compare commits

..

1 Commits

3 changed files with 11 additions and 13 deletions

View File

@ -5,7 +5,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rustframe</title> <title>Rustframe</title>
<link rel="icon" type="image/png" href="./rustframe_logo.png"> <link rel="icon" type="image/png" href="../rustframe_logo.png">
<style> <style>
body { body {
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
@ -52,15 +52,12 @@
<body> <body>
<main> <main>
<h1> <h1>
<img src="./rustframe_logo.png" alt="Rustframe Logo"><br> <img src="../rustframe_logo.png" alt="Rustframe Logo"><br>
Rustframe Rustframe
</h1> </h1>
<h2>A lightweight dataframe & math toolkit for Rust</h2> <h2>A lightweight dataframe & math toolkit for Rust</h2>
<hr style="border: 1px solid #d4d4d4; margin: 20px 0;">
<p> <p>
📚 <a href="https://magnus167.github.io/rustframe/docs">Docs</a> | 📚 <a href="https://magnus167.github.io/rustframe/">Docs</a>
📊 <a href="https://magnus167.github.io/rustframe/benchmark-report/">Benchmarks</a>
<br><br> <br><br>
🦀 <a href="https://crates.io/crates/rustframe">Crates.io</a> | 🦀 <a href="https://crates.io/crates/rustframe">Crates.io</a> |
🔖 <a href="https://docs.rs/rustframe/latest/rustframe/">docs.rs</a> 🔖 <a href="https://docs.rs/rustframe/latest/rustframe/">docs.rs</a>

View File

@ -147,16 +147,19 @@ jobs:
cp last-commit-date.json target/doc/docs/ cp last-commit-date.json target/doc/docs/
# cp -r .github target/doc/docs # cp -r .github target/doc/docs
cp .github/rustframe_logo.png target/doc/docs/ cp .github/rustframe_logo.png target/doc/docs/
# echo "<meta http-equiv=\"refresh\" content=\"0; url=docs\">" > target/doc/index.html echo "<meta http-equiv=\"refresh\" content=\"0; url=docs\">" > target/doc/index.html
touch target/doc/.nojekyll touch target/doc/.nojekyll
# copy the benchmark report to the output directory # copy the benchmark report to the output directory
cp -r benchmark-report target/doc/ cp -r benchmark-report target/doc/
- name: Add index.html to output directory # verify that logo exists in the output directory
- name: Verify logo directory
run: | run: |
cp .github/htmldocs/index.html target/doc/index.html if [ ! -f target/doc/docs/rustframe_logo.png ]; then
cp .github/rustframe_logo.png target/doc/rustframe_logo.png echo "Logo not found in output directory!"
exit 1
fi
- name: Upload Pages artifact - name: Upload Pages artifact
# if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' # if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'

2
.gitignore vendored
View File

@ -15,5 +15,3 @@ data/
.vscode/ .vscode/
tarpaulin-report.* tarpaulin-report.*
.github/htmldocs/rustframe_logo.png