diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index 9314b4fd..00000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,71 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -# Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll site to Pages - -on: - push: - branches: - - "main" - paths: - - "docs/**" - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow one concurrent deployment -concurrency: - group: "pages" - cancel-in-progress: true - -jobs: - # Build job - build: - runs-on: ubuntu-latest - defaults: - run: - working-directory: docs - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: "3.1" # Not needed with a .ruby-version file - bundler-cache: true # runs 'bundle install' and caches installed gems automatically - cache-version: 0 # Increment this number if you need to re-download cached gems - working-directory: "${{ github.workspace }}/docs" - - name: Setup Pages - id: pages - uses: actions/configure-pages@v3 - - name: Build with Jekyll - # Outputs to the './_site' directory by default - run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" - env: - JEKYLL_ENV: production - - name: Upload artifact - # Automatically uploads an artifact from the './_site' directory by default - uses: actions/upload-pages-artifact@v1 - with: - path: "docs/_site/" - - # Deployment job - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 diff --git a/.prettierignore b/.prettierignore index 876c6fbf..c0f88d94 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,7 +3,6 @@ src/routes.ts node_modules typed-router.d.ts vendor -docs dist .vite out diff --git a/docs/.gitignore b/docs/.gitignore deleted file mode 100644 index f55f6395..00000000 --- a/docs/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -# Copied from https://github.com/github/gitignore/blob/main/Jekyll.gitignore -# Ignore metadata generated by Jekyll -_site/ -.sass-cache/ -.jekyll-cache/ -.jekyll-metadata - -# Ignore folders generated by Bundler -.bundle/ -vendor/ diff --git a/docs/404.html b/docs/404.html deleted file mode 100644 index fcebf3fc..00000000 --- a/docs/404.html +++ /dev/null @@ -1,25 +0,0 @@ ---- -permalink: /404.html -layout: default ---- - - - -
-

404

- -

Page not found :(

-

The requested page could not be found.

-
\ No newline at end of file diff --git a/docs/Development.md b/docs/Development.md deleted file mode 100644 index 186bd159..00000000 --- a/docs/Development.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: default -title: Development -nav_order: 4 -has_children: true -permalink: development ---- - -# Development -{: .no_toc } \ No newline at end of file diff --git a/docs/Gemfile b/docs/Gemfile deleted file mode 100644 index 1d48585d..00000000 --- a/docs/Gemfile +++ /dev/null @@ -1,48 +0,0 @@ -# frozen_string_literal: true - -source 'https://rubygems.org' -# Hello! This is where you manage which Jekyll version is used to run. -# When you want to use a different version, change it below, save the -# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: -# -# bundle exec jekyll serve -# -# This will help ensure the proper Jekyll version is running. -# Happy Jekylling! -# This is the default theme for new Jekyll sites. You may change this to anything you like. -gem 'just-the-docs' -# If you want to use GitHub Pages, remove the 'gem 'jekyll'' above and -# uncomment the line below. To upgrade, run `bundle update github-pages`. - -# Already included with github-pages gem -# gem 'jekyll' - -# If you have any plugins, put them here! -group :jekyll_plugins do - gem 'github-pages' - gem 'jekyll-feed' - # Already included with github-pages gem - # gem 'jekyll-github-metadata' - gem 'jekyll-glossary_tooltip' - gem 'jekyll-liquify' - gem 'jekyll-remote-theme' - gem 'jekyll-sitemap' -end - -# Can't serve locally without webrick -# https://github.com/github/pages-gem/issues/752 -gem 'webrick' - -# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem -# and associated library. -platforms :mingw, :x64_mingw, :mswin, :jruby do - gem 'tzinfo', '>= 1', '< 3' - gem 'tzinfo-data' -end - -# Performance-booster for watching directories on Windows -gem 'wdm', '~> 0.1.1', platforms: %i[mingw x64_mingw mswin] - -# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem -# do not have a Java counterpart. -gem 'http_parser.rb', '~> 0.6.0', platforms: %i[jruby] \ No newline at end of file diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock deleted file mode 100644 index f78bcafe..00000000 --- a/docs/Gemfile.lock +++ /dev/null @@ -1,281 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - activesupport (7.0.4.2) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - addressable (2.8.1) - public_suffix (>= 2.0.2, < 6.0) - coffee-script (2.4.1) - coffee-script-source - execjs - coffee-script-source (1.11.1) - colorator (1.1.0) - commonmarker (0.23.8) - concurrent-ruby (1.2.2) - dnsruby (1.61.9) - simpleidn (~> 0.1) - em-websocket (0.5.3) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0) - ethon (0.16.0) - ffi (>= 1.15.0) - eventmachine (1.2.7) - execjs (2.8.1) - faraday (2.7.4) - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-net_http (3.0.2) - ffi (1.15.5) - forwardable-extended (2.6.0) - gemoji (3.0.1) - github-pages (228) - github-pages-health-check (= 1.17.9) - jekyll (= 3.9.3) - jekyll-avatar (= 0.7.0) - jekyll-coffeescript (= 1.1.1) - jekyll-commonmark-ghpages (= 0.4.0) - jekyll-default-layout (= 0.1.4) - jekyll-feed (= 0.15.1) - jekyll-gist (= 1.5.0) - jekyll-github-metadata (= 2.13.0) - jekyll-include-cache (= 0.2.1) - jekyll-mentions (= 1.6.0) - jekyll-optional-front-matter (= 0.3.2) - jekyll-paginate (= 1.1.0) - jekyll-readme-index (= 0.3.0) - jekyll-redirect-from (= 0.16.0) - jekyll-relative-links (= 0.6.1) - jekyll-remote-theme (= 0.4.3) - jekyll-sass-converter (= 1.5.2) - jekyll-seo-tag (= 2.8.0) - jekyll-sitemap (= 1.4.0) - jekyll-swiss (= 1.0.0) - jekyll-theme-architect (= 0.2.0) - jekyll-theme-cayman (= 0.2.0) - jekyll-theme-dinky (= 0.2.0) - jekyll-theme-hacker (= 0.2.0) - jekyll-theme-leap-day (= 0.2.0) - jekyll-theme-merlot (= 0.2.0) - jekyll-theme-midnight (= 0.2.0) - jekyll-theme-minimal (= 0.2.0) - jekyll-theme-modernist (= 0.2.0) - jekyll-theme-primer (= 0.6.0) - jekyll-theme-slate (= 0.2.0) - jekyll-theme-tactile (= 0.2.0) - jekyll-theme-time-machine (= 0.2.0) - jekyll-titles-from-headings (= 0.5.3) - jemoji (= 0.12.0) - kramdown (= 2.3.2) - kramdown-parser-gfm (= 1.1.0) - liquid (= 4.0.4) - mercenary (~> 0.3) - minima (= 2.5.1) - nokogiri (>= 1.13.6, < 2.0) - rouge (= 3.26.0) - terminal-table (~> 1.4) - github-pages-health-check (1.17.9) - addressable (~> 2.3) - dnsruby (~> 1.60) - octokit (~> 4.0) - public_suffix (>= 3.0, < 5.0) - typhoeus (~> 1.3) - html-pipeline (2.14.3) - activesupport (>= 2) - nokogiri (>= 1.4) - http_parser.rb (0.8.0) - i18n (1.12.0) - concurrent-ruby (~> 1.0) - jekyll (3.9.3) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (>= 0.7, < 2) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 2.0) - kramdown (>= 1.17, < 3) - liquid (~> 4.0) - mercenary (~> 0.3.3) - pathutil (~> 0.9) - rouge (>= 1.7, < 4) - safe_yaml (~> 1.0) - jekyll-avatar (0.7.0) - jekyll (>= 3.0, < 5.0) - jekyll-coffeescript (1.1.1) - coffee-script (~> 2.2) - coffee-script-source (~> 1.11.1) - jekyll-commonmark (1.4.0) - commonmarker (~> 0.22) - jekyll-commonmark-ghpages (0.4.0) - commonmarker (~> 0.23.7) - jekyll (~> 3.9.0) - jekyll-commonmark (~> 1.4.0) - rouge (>= 2.0, < 5.0) - jekyll-default-layout (0.1.4) - jekyll (~> 3.0) - jekyll-feed (0.15.1) - jekyll (>= 3.7, < 5.0) - jekyll-gist (1.5.0) - octokit (~> 4.2) - jekyll-github-metadata (2.13.0) - jekyll (>= 3.4, < 5.0) - octokit (~> 4.0, != 4.4.0) - jekyll-glossary_tooltip (1.5.0) - jekyll (>= 3.7, < 5.0) - jekyll-include-cache (0.2.1) - jekyll (>= 3.7, < 5.0) - jekyll-liquify (0.0.2) - liquid (>= 2.5, < 5.0) - redcarpet (~> 3.1) - jekyll-mentions (1.6.0) - html-pipeline (~> 2.3) - jekyll (>= 3.7, < 5.0) - jekyll-optional-front-matter (0.3.2) - jekyll (>= 3.0, < 5.0) - jekyll-paginate (1.1.0) - jekyll-readme-index (0.3.0) - jekyll (>= 3.0, < 5.0) - jekyll-redirect-from (0.16.0) - jekyll (>= 3.3, < 5.0) - jekyll-relative-links (0.6.1) - jekyll (>= 3.3, < 5.0) - jekyll-remote-theme (0.4.3) - addressable (~> 2.0) - jekyll (>= 3.5, < 5.0) - jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0) - rubyzip (>= 1.3.0, < 3.0) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) - jekyll-seo-tag (2.8.0) - jekyll (>= 3.8, < 5.0) - jekyll-sitemap (1.4.0) - jekyll (>= 3.7, < 5.0) - jekyll-swiss (1.0.0) - jekyll-theme-architect (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-cayman (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-dinky (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-hacker (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-leap-day (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-merlot (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-midnight (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-minimal (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-modernist (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-primer (0.6.0) - jekyll (> 3.5, < 5.0) - jekyll-github-metadata (~> 2.9) - jekyll-seo-tag (~> 2.0) - jekyll-theme-slate (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-tactile (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-time-machine (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-titles-from-headings (0.5.3) - jekyll (>= 3.3, < 5.0) - jekyll-watch (2.2.1) - listen (~> 3.0) - jemoji (0.12.0) - gemoji (~> 3.0) - html-pipeline (~> 2.2) - jekyll (>= 3.0, < 5.0) - just-the-docs (0.4.1) - jekyll (>= 3.8.5) - jekyll-seo-tag (>= 2.0) - rake (>= 12.3.1) - kramdown (2.3.2) - rexml - kramdown-parser-gfm (1.1.0) - kramdown (~> 2.0) - liquid (4.0.4) - listen (3.8.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - mercenary (0.3.6) - minima (2.5.1) - jekyll (>= 3.5, < 5.0) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) - minitest (5.17.0) - nokogiri (1.14.2-x86_64-linux) - racc (~> 1.4) - octokit (4.25.1) - faraday (>= 1, < 3) - sawyer (~> 0.9) - pathutil (0.16.2) - forwardable-extended (~> 2.6) - public_suffix (4.0.7) - racc (1.6.2) - rake (13.0.6) - rb-fsevent (0.11.2) - rb-inotify (0.10.1) - ffi (~> 1.0) - redcarpet (3.6.0) - rexml (3.2.5) - rouge (3.26.0) - ruby2_keywords (0.0.5) - rubyzip (2.3.2) - safe_yaml (1.0.5) - sass (3.7.4) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - sawyer (0.9.2) - addressable (>= 2.3.5) - faraday (>= 0.17.3, < 3) - simpleidn (0.2.1) - unf (~> 0.1.4) - terminal-table (1.8.0) - unicode-display_width (~> 1.1, >= 1.1.1) - typhoeus (1.4.0) - ethon (>= 0.9.0) - tzinfo (2.0.6) - concurrent-ruby (~> 1.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8.2) - unicode-display_width (1.8.0) - webrick (1.8.1) - -PLATFORMS - x86_64-linux - -DEPENDENCIES - github-pages - http_parser.rb (~> 0.6.0) - jekyll-feed - jekyll-glossary_tooltip - jekyll-liquify - jekyll-remote-theme - jekyll-sitemap - just-the-docs - tzinfo (>= 1, < 3) - tzinfo-data - wdm (~> 0.1.1) - webrick - -BUNDLED WITH - 2.3.25 diff --git a/docs/Guides.md b/docs/Guides.md deleted file mode 100644 index ac09e2e4..00000000 --- a/docs/Guides.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: default -title: Guides -nav_order: 5 -has_children: true -permalink: guides ---- - -# Guides -{: .no_toc } \ No newline at end of file diff --git a/docs/LICENSE b/docs/LICENSE deleted file mode 100644 index 7d510d02..00000000 --- a/docs/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 just-the-docs - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/docs/README.md b/docs/README.md deleted file mode 100644 index 003a031b..00000000 --- a/docs/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# BAR Client documentation - -This is a [Jekyll] static web page made with the [Just the Docs] theme and generally hosted on [GitHub Pages]. - -## Testing Locally - -Assuming [Jekyll] and [Bundler] are installed on your computer: - -1. Change your working directory to the root directory of your site. - -2. Run `bundle install`. - -3. Run `bundle exec jekyll serve` to build your site and preview it at `localhost:4000`. - - The built site is stored in the directory `_site`. - ----- -[Jekyll]: https://jekyllrb.com -[Just the Docs]: https://just-the-docs.github.io/just-the-docs/ -[GitHub Pages]: https://docs.github.com/en/pages -[Bundler]: https://bundler.io \ No newline at end of file diff --git a/docs/_config.yml b/docs/_config.yml deleted file mode 100644 index b7f8d64b..00000000 --- a/docs/_config.yml +++ /dev/null @@ -1,140 +0,0 @@ -title: BAR Lobby -#email: TODO: what email should go here? -description: >- - Documentation for the Beyond All Reason Client. -baseurl: "/bar-lobby" -url: "https://beyond-all-reason.github.io" -github_username: beyond-all-reason -permalink: pretty -repository: beyond-all-reason/bar-lobby - - -# Build settings -# theme: just-the-docs -remote_theme: just-the-docs/just-the-docs -plugins: - - jekyll-feed - - jekyll-github-metadata - - jekyll-glossary_tooltip - - jekyll-remote-theme - - jekyll-sitemap - - jekyll-seo-tag - - -search: - # Split pages into sections that can be searched individually - # Supports 1 - 6, default: 2 - heading_level: 3 - # Maximum amount of previews per search result - # Default: 3 - previews: 3 - # Maximum amount of words to display before a matched word in the preview - # Default: 5 - preview_words_before: 5 - # Maximum amount of words to display after a matched word in the preview - # Default: 10 - preview_words_after: 10 - # Set the search token separator - # Default: /[\s\-/]+/ - # Example: enable support for hyphenated search words - tokenizer_separator: /[\s/]+/ - # Display the relative url in search results - # Supports true (default) or false - rel_url: true - # Enable or disable the search button that appears in the bottom right corner of every page - # Supports true or false (default) - button: false - - -#Makes Aux links open in new tab. Default is false -aux_links_new_tab: true - -#For copy button on code -enable_copy_code_button: true - -# Back to top link -back_to_top: true -back_to_top_text: "Back to top" - - -footer_content: "Copyright © 2023 Beyond All Reason. Distributed by a MIT license." - -# Footer last edited timestamp -last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter -last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html - - - -# Footer "Edit this page on GitHub" link text -gh_edit_link: true # show or hide edit this page link -gh_edit_link_text: "Edit this page on GitHub" -gh_edit_repository: "https://github.com/beyond-all-reason/bar-lobby" # the github URL for your repo -gh_edit_branch: "master" # the branch that your docs is served from -gh_edit_source: doc/ # the source that your files originate from -gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately - -# Color scheme currently only supports "dark", "light"/nil (default), or a custom scheme that you define -color_scheme: nil - -callouts_level: quiet # or loud -callouts: - highlight: - color: yellow - important: - title: Important - color: blue - new: - title: New - color: green - note: - title: Note - color: purple - warning: - title: Warning - color: red - -kramdown: - syntax_highlighter_opts: - block: - line_numbers: false - -compress_html: - clippings: all - comments: all - endings: all - startings: [] - blanklines: false - profile: false - # ignore: - # envs: all - -# Exclude from processing. -# The following items will not be processed, by default. -# Any item listed under the `exclude:` key here will be automatically added to -# the internal "default list". -# -# Excluded items can be processed by explicitly listing the directories or -# their entries' file path in the `include:` list. -# -exclude: - # from https://github.com/jekyll/jekyll/blob/master/lib/site_template/_config.yml: - - .sass-cache/ - - .jekyll-cache/ - - gemfiles/ - - Gemfile - - Gemfile.lock - - node_modules/ - - vendor/bundle/ - - vendor/cache/ - - vendor/gems/ - - vendor/ruby/ - # specific to the theme website: - - bin/ - - lib/ - - "*.gemspec" - - "*.gem" - - LICENSE.txt - - package.json - - package-lock.json - - Rakefile - - README.md diff --git a/docs/_includes/head.html b/docs/_includes/head.html deleted file mode 100644 index d04f9491..00000000 --- a/docs/_includes/head.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - {% if site.ga_tracking != nil %} - {% assign ga_tracking_ids = site.ga_tracking | split: "," %} - - - {% endif %} - - {% if site.search_enabled != false %} - - {% endif %} - - {% if site.mermaid %} - {% if site.mermaid.path %} - - {% else %} - - {% endif %} - {% endif %} - - - - - - {% for file in site.static_files %} - {% if file.path == site.favicon_ico or file.path == '/favicon.ico' %} - {% assign favicon = true %} - {% endif %} - {% endfor %} - {% if favicon %} - - {% endif %} - - {% seo %} - - {% include head_custom.html %} - - \ No newline at end of file diff --git a/docs/_includes/header_custom.html b/docs/_includes/header_custom.html deleted file mode 100644 index 0b4bfc51..00000000 --- a/docs/_includes/header_custom.html +++ /dev/null @@ -1,34 +0,0 @@ - - - \ No newline at end of file diff --git a/docs/_sass/content-nocharset.scss b/docs/_sass/content-nocharset.scss deleted file mode 100644 index 03077f8e..00000000 --- a/docs/_sass/content-nocharset.scss +++ /dev/null @@ -1,237 +0,0 @@ -// Styles for rendered markdown in the .main-content container -// stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type, selector-max-specificity, selector-max-id - -.main-content { - line-height: $content-line-height; - - ol, - ul, - dl, - pre, - address, - blockquote, - .table-wrapper { - margin-top: 0.5em; - } - - a { - overflow: hidden; - text-overflow: ellipsis; - } - - ul, - ol { - padding-left: 1.5em; - } - - li { - .highlight { - margin-top: $sp-1; - } - } - - ol { - list-style-type: none; - counter-reset: step-counter; - - > li { - position: relative; - - &::before { - position: absolute; - top: 0.2em; - left: -1.6em; - color: $grey-dk-000; - content: counter(step-counter); - counter-increment: step-counter; - @include fs-3; - - @include mq(sm) { - top: 0.11em; - } - } - - ol { - counter-reset: sub-counter; - - > li { - &::before { - content: counter(sub-counter, lower-alpha); - counter-increment: sub-counter; - } - } - } - } - } - - ul { - list-style: none; - - > li { - &::before { - position: absolute; - margin-left: -1.4em; - color: $grey-dk-000; - content: "•"; - } - } - } - - .task-list-item { - &::before { - content: ""; - } - } - - .task-list-item-checkbox { - margin-right: 0.6em; - margin-left: -1.4em; - - // The same margin-left is used above for ul > li::before - } - - hr + * { - margin-top: 0; - } - - h1:first-of-type { - margin-top: 0.5em; - } - - dl { - display: grid; - grid-template: auto / 10em 1fr; - } - - dt, - dd { - margin: 0.25em 0; - } - - dt { - grid-column: 1; - font-weight: 500; - text-align: right; - - &::after { - content: ":"; - } - } - - dd { - grid-column: 2; - margin-bottom: 0; - margin-left: 1em; - - blockquote, - div, - dl, - dt, - h1, - h2, - h3, - h4, - h5, - h6, - li, - ol, - p, - pre, - table, - ul, - .table-wrapper { - &:first-child { - margin-top: 0; - } - } - } - - dd, - ol, - ul { - dl:first-child { - dt:first-child, - dd:nth-child(2) { - margin-top: 0; - } - } - } - - .anchor-heading { - position: absolute; - right: -$sp-4; - width: $sp-5; - height: 100%; - padding-right: $sp-1; - padding-left: $sp-1; - overflow: visible; - - @include mq(md) { - right: auto; - left: -$sp-5; - } - - svg { - display: inline-block; - width: 100%; - height: 100%; - color: $link-color; - visibility: hidden; - } - } - - .anchor-heading:hover, - .anchor-heading:focus, - h1:hover > .anchor-heading, - h2:hover > .anchor-heading, - h3:hover > .anchor-heading, - h4:hover > .anchor-heading, - h5:hover > .anchor-heading, - h6:hover > .anchor-heading { - svg { - visibility: visible; - } - } - - summary { - cursor: pointer; - } - - h1, - h2, - h3, - h4, - h5, - h6, - #toctitle { - position: relative; - margin-top: 1.5em; - margin-bottom: 0.25em; - - + table, - + .table-wrapper, - + .code-example, - + .highlighter-rouge, - + .sectionbody .listingblock { - margin-top: 1em; - } - - + p:not(.label) { - margin-top: 0; - } - } - - > h1:first-child, - > h2:first-child, - > h3:first-child, - > h4:first-child, - > h5:first-child, - > h6:first-child, - > .sect1:first-child > h2, - > .sect2:first-child > h3, - > .sect3:first-child > h4, - > .sect4:first-child > h5, - > .sect5:first-child > h6 { - margin-top: $sp-2; - } -} \ No newline at end of file diff --git a/docs/_sass/custom/custom.scss b/docs/_sass/custom/custom.scss deleted file mode 100644 index aa06a967..00000000 --- a/docs/_sass/custom/custom.scss +++ /dev/null @@ -1,145 +0,0 @@ -/***************************/ -/***** Theme switcher ******/ -/***************************/ - -// vendored from https://github.com/argyleink/gui-challenges/blob/main/theme-switch - -@import"https://unpkg.com/open-props/easings.min.css"; - -.sun-and-moon>:is(.moon,.sun,.sun-beams) { - transform-origin:center center -} -.sun-and-moon>:is(.moon, -.sun) { - fill:var(--icon-fill) -} -.theme-toggle:is(:hover, -:focus-visible)>.sun-and-moon>:is(.moon, -.sun) { - fill:var(--icon-fill-hover) -} -.sun-and-moon>.sun-beams { - stroke:var(--icon-fill); - stroke-width:2px -} -.theme-toggle:is(:hover, -:focus-visible) .sun-and-moon>.sun-beams { - stroke:var(--icon-fill-hover) -} -[data-theme=dark] .sun-and-moon>.sun { - transform:scale(1.75) -} -[data-theme=dark] .sun-and-moon>.sun-beams { - opacity:0 -} -[data-theme=dark] .sun-and-moon>.moon>circle { - transform:translate(-7px) -} -@supports (cx: 1) { - [data-theme=dark] .sun-and-moon>.moon>circle { - transform:translate(0); - cx:17 - } -} -@media (prefers-reduced-motion: no-preference) { - .sun-and-moon>.sun { - transition:transform .5s var(--ease-elastic-3) - } - .sun-and-moon>.sun-beams { - transition:transform .5s var(--ease-elastic-4),opacity .5s var(--ease-3) - } - .sun-and-moon .moon>circle { - transition:transform .25s var(--ease-out-5) - } - @supports (cx: 1) { - .sun-and-moon .moon>circle { - transition:cx .25s var(--ease-out-5) - } - } - [data-theme=dark] .sun-and-moon>.sun { - transform:scale(1.75); - transition-timing-function:var(--ease-3); - transition-duration:.25s - } - [data-theme=dark] .sun-and-moon>.sun-beams { - transform:rotate(-25deg); - transition-duration:.15s - } - [data-theme=dark] .sun-and-moon>.moon>circle { - transition-delay:.25s; - transition-duration:.5s - } -} -.theme-toggle { - --size: 2rem; - --icon-fill: hsl(210 10% 30%); - --icon-fill-hover: hsl(210 10% 15%); - background:none; - border:none; - padding:0; - inline-size:var(--size); - block-size:var(--size); - aspect-ratio:1; - border-radius:50%; - cursor:pointer; - touch-action:manipulation; - -webkit-tap-highlight-color:transparent; - outline-offset:5px -} -.theme-toggle>svg { - inline-size:100%; - block-size:100%; - stroke-linecap:round -} -[data-theme=dark] .theme-toggle { - --icon-fill: hsl(210 10% 70%); - --icon-fill-hover: hsl(210 15% 90%) -} -@media (hover: none) { - .theme-toggle { - --size: 48px - } -} - -// unvendored do not remove -html[data-theme="dark"] button.theme-toggle, button.theme-toggle { - height: 100%; - margin: 0 1rem; -} - -/***************************/ -/***** Custom Stuff ********/ -/***************************/ - - -.aux-nav, html[data-theme="dark"] .aux-nav { - padding-right: 0; -} - -.aux-nav-img img { - filter: invert(27%) sepia(14%) saturate(463%) hue-rotate(166deg) brightness(93%) contrast(85%); -} - -.aux-nav-list-item:hover .aux-nav-img img { - filter: invert(13%) sepia(6%) saturate(958%) hue-rotate(169deg) brightness(96%) contrast(95%); -} - - -html:not(data-theme) .aux-nav-github img, html[data-theme="light"] .aux-nav-github img { - background-image: url("/bar-lobby/assets/github-mark.svg"); -} - -html[data-theme="dark"] .aux-nav-github img { - background-image: url("/bar-lobby/assets/github-mark-white.svg"); -} - -html .aux-nav-img img { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - - background-repeat: no-repeat; - background-size: cover; - height: 32px; - padding-left: 100%; /* Equal to width of new image */ -} \ No newline at end of file diff --git a/docs/_sass/modules-nocharset.scss b/docs/_sass/modules-nocharset.scss deleted file mode 100644 index 594576aa..00000000 --- a/docs/_sass/modules-nocharset.scss +++ /dev/null @@ -1,17 +0,0 @@ - -// Import external dependencies -@import "./vendor/normalize.scss/normalize"; - -// Modules -@import "./base"; -@import "./layout"; -@import "./content-nocharset"; -@import "./navigation"; -@import "./typography"; -@import "./labels"; -@import "./buttons"; -@import "./search"; -@import "./tables"; -@import "./code"; -@import "./utilities/utilities"; -@import "./print"; \ No newline at end of file diff --git a/docs/assets/Lobby_Main.png b/docs/assets/Lobby_Main.png deleted file mode 100644 index 4e862028..00000000 Binary files a/docs/assets/Lobby_Main.png and /dev/null differ diff --git a/docs/assets/css/just-the-docs-themes.scss b/docs/assets/css/just-the-docs-themes.scss deleted file mode 100644 index 1d5cceaf..00000000 --- a/docs/assets/css/just-the-docs-themes.scss +++ /dev/null @@ -1,83 +0,0 @@ ---- ---- - -{% if site.logo %} -$logo: "{{ site.logo | relative_url }}"; -{% endif %} -@import "./support/support"; -@import "./custom/setup"; - -@import "./color_schemes/light"; -@import "./modules"; -{% include css/callouts.scss.liquid color_scheme = "light" %} - -html[data-theme="dark"] { -@import "./color_schemes/dark"; -@import "./modules-nocharset"; -{% include css/callouts.scss.liquid color_scheme = "dark" %} -} - -// fix for search using class in html tag -html[data-theme="dark"].search-active { - .search { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - padding: 0; - } - - .search-input-wrap { - height: $sp-10; - border-radius: 0; - - @include mq(md) { - width: $search-results-width; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08); - } - } - - .search-input { - background-color: $grey-dk-250; - - @include mq(md) { - padding-left: 2.3rem; - } - } - - .search-label { - @include mq(md) { - padding-left: 0.6rem; - } - } - - .search-results { - display: block; - } - - .search-overlay { - width: 100%; - height: 100%; - opacity: 1; - transition: opacity ease $transition-duration, width 0s, height 0s; - } - - @include mq(md) { - .main { - position: fixed; - right: 0; - left: 0; - } - } - - .main-header { - padding-top: $sp-10; - - @include mq(md) { - padding-top: 0; - } - } - } - -{% include css/custom.scss.liquid %} \ No newline at end of file diff --git a/docs/assets/github-mark-white.svg b/docs/assets/github-mark-white.svg deleted file mode 100644 index d5e64918..00000000 --- a/docs/assets/github-mark-white.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/assets/github-mark.svg b/docs/assets/github-mark.svg deleted file mode 100644 index 37fa923d..00000000 --- a/docs/assets/github-mark.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/assets/js/theme-switcher.js b/docs/assets/js/theme-switcher.js deleted file mode 100644 index f3b738f1..00000000 --- a/docs/assets/js/theme-switcher.js +++ /dev/null @@ -1,58 +0,0 @@ -const storageKey = 'theme-preference' - -const onClick = () => { - // flip current value - theme.value = theme.value === 'light' - ? 'dark' - : 'light' - - setPreference() -} - -const getColorPreference = () => { - if (localStorage.getItem(storageKey)) - return localStorage.getItem(storageKey) - else - return window.matchMedia('(prefers-color-scheme: dark)').matches - ? 'dark' - : 'light' -} - -const setPreference = () => { - localStorage.setItem(storageKey, theme.value) - reflectPreference() -} - -const reflectPreference = () => { - document.firstElementChild - .setAttribute('data-theme', theme.value) - - document - .querySelector('#theme-toggle') - ?.setAttribute('aria-label', theme.value) -} - -const theme = { - value: getColorPreference(), -} - -// set early so no page flashes / CSS is made aware -reflectPreference() - -window.onload = () => { - // set on load so screen readers can see latest value on the button - reflectPreference() - - // now this script can find and listen for clicks on the control - document - .querySelector('#theme-toggle') - .addEventListener('click', onClick) -} - -// sync with system changes -window - .matchMedia('(prefers-color-scheme: dark)') - .addEventListener('change', ({matches:isDark}) => { - theme.value = isDark ? 'dark' : 'light' - setPreference() - }) \ No newline at end of file diff --git a/docs/backstory.md b/docs/backstory.md deleted file mode 100644 index 51cbccfa..00000000 --- a/docs/backstory.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: History of the Spring/Recoil Client -layout: about -nav_order: 2 ---- -This will hold the backstory of BAR Lobby development. \ No newline at end of file diff --git a/docs/development/set_up.md b/docs/development/set_up.md deleted file mode 100644 index a7369a29..00000000 --- a/docs/development/set_up.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -layout: post -title: Setting up bar-lobby -parent: Development -permalink: development/set_up ---- - -This will eventually be the step-by-step guide in written form, modified from the source video made by Jazcash. - -If you prefer video to text, you can watch the original [guide from Jazcash]. - ---- - -## Windows 10 Guide: ## - -Assumptions: This guide starts from a fresh installation of Windows 10 and assumes no prior installed software. - -Installations: - - [Download and install NodeJS v14], being sure to select the correct version for your operating system. Newer versions of NodeJS are not currently compatible with BAR Lobby Development. - - [Download and install Visual Studio Code]. VS Code is highly recommended due to all the extensions which make this process much easier. If you are already proficient in your preferred IDE, feel free to use that instead. - - [Download and install Git], making sure to select your preferred IDE when prompted to choose a default editor (This guide assumes you selected VS Code). - - Cloning the repository: - - Open VS Code: - - Navigate to the Terminal tab, select New Terminal. - - Ensure your new terminal is a bash terminal. If the right-hand side is showing a PowerShell terminal, be sure to click the down arrow next to the lower right hand "new terminal" button and select the Bash option. - - Enter the command `git clone https://github.com/beyond-all-reason/bar-lobby.git`. - - Setting up your IDE: - - After the download is complete, find the folder and open it with VS Code.- The first time you open this with VS Code, it should prompt you to install the following extensions: - - ESLint & eslint-disable-snippets- Prettier Code Formatter - - SCSS IntelliSense - - Vue Language Features (Volar) - - These are not required, but are strongly recommended. - - Installing and running the client as a developer: - - Next, open a new bash terminal the same as when initially cloning the repo. The terminal should show that you are within the bar-lobby directory on your machine. - - Run the command `npm install`. Expect this to take about 5 -10 minutes. This step is somewhat error-prone, and if you run into an issue please let the developer team know via [the Discord]. - - Next run the command `npm run dev` which should launch the client, which will then complete the process of setting up the environment and downloading any additional required resources. - -Congratulations, by this point you should have all the tools necessary to begin contributing to the Beyond All Reason client! - -[guide from Jazcash]: https://youtu.be/bVcKYPvVE8Q -[Download and install NodeJS v14]: https://nodejs.org/download/release/v14.21.3/ -[Download and install Visual Studio Code]: https://code.visualstudio.com/download -[Download and install Git]: https://git-scm.com/downloads -[the Discord]: https://discord.gg/beyond-all-reason \ No newline at end of file diff --git a/docs/guides/overview.md b/docs/guides/overview.md deleted file mode 100644 index 40b53f51..00000000 --- a/docs/guides/overview.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: post -title: Overview of Bar Lobby -parent: Guides -permalink: guides/overview ---- -## Tech Stack: ## - -BAR Lobby uses: - - Electron - - Vue - - TypeScript - - SCSS (sass) - - Tachyon diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index f6eb22f3..00000000 --- a/docs/index.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Home -layout: default -nav_order: 1 ---- - -BAR Lobby is a new WIP lobby for the RTS game [Beyond All Reason]. It hopes to boldly go where no Spring client has gone before, providing a more streamlined experience, with good visuals and UX being high priority. The ultimate goal of BAR Lobby is to replace all other lobbies when it comes to playing BAR. - -![lobby screen](/assets/Lobby_Main.png) - - - - ----- - - -[Beyond All Reason]: https://www.beyondallreason.info/ \ No newline at end of file diff --git a/electron-builder.config.ts b/electron-builder.config.ts index e5b880d6..68f0f6b5 100644 --- a/electron-builder.config.ts +++ b/electron-builder.config.ts @@ -8,7 +8,7 @@ const config: Configuration = { productName: "Beyond All Reason", files: [ "!**/.vscode/*", - "!{docs,src,out,tests,vendor}/*", + "!{src,out,tests,vendor}/*", "!vite.*.config.{js,ts,mjs,cjs,mts}", "!{eslint.config.mjs,.prettierignore,prettier.config.mjs,README.md}", "!{.env,.env.*,.npmrc,pnpm-lock.yaml}",