Skip to content

Commit

Permalink
Merge pull request #16 from solutions-territoire/refactor-documentation
Browse files Browse the repository at this point in the history
Refactor documentation
  • Loading branch information
inkstak authored Aug 21, 2024
2 parents a0824bc + b16141e commit e27ac8d
Show file tree
Hide file tree
Showing 51 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/retype-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: retypeapp/action-build@latest

Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ gemspec

gem "gem-release"
gem "simplecov_json_formatter"
gem "sqlite3", "~> 1.4.0"
9 changes: 7 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
require "bundler/gem_tasks"
require "appraisal"
require "rspec/core/rake_task"
require "rubocop/rake_task"
require "standard/rake"

RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new

desc "Run the full CI"
task :default do
if ENV["APPRAISAL_INITIALIZED"]
RSpec::Core::RakeTask.new(:spec)
Rake::Task["spec"].invoke
else
# FYI: Standard & appraisal requires each a spawn process.
Expand All @@ -20,8 +24,9 @@ task :default do
# report offenses from other plugins putted in .rubocop_todo.yml
# https://github.com/testdouble/standard/issues/480

fail unless system "bundle exec appraisal install"
fail unless system "bundle exec appraisal rspec"
fail unless system "bundle exec rubocop"
fail unless system "bundle exec standardrb"
fail unless system "bundle exec rake standard"
end
end
5 changes: 5 additions & 0 deletions docs/documentation/index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
icon: book-24
label: Documentation
order: -2
expanded: true

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 2 additions & 5 deletions docs/index.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
icon: book-24
label: Documentation
order: -2
expanded: true

title: Overview
icon: home
2 changes: 0 additions & 2 deletions index.yml

This file was deleted.

2 changes: 1 addition & 1 deletion retype.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
input: .
input: ./docs
output: .retype
url: https://solutions-territoire.github.io/caoutsearch

Expand Down

0 comments on commit e27ac8d

Please sign in to comment.