Coder Social home page Coder Social logo

faithful-resource-pack / docs Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 4.0 22.43 MB

The official site with documentation and guides related to Faithful.

Home Page: https://docs.faithfulpack.net/

License: GNU Affero General Public License v3.0

TypeScript 36.05% Vue 55.87% CSS 8.09%
faithful markdown nodejs svelte sveltekit

docs's People

Contributors

3vorp avatar apicella1 avatar dependabot[bot] avatar domi04151309 avatar juknum avatar pomi108 avatar robertrr11 avatar seirin-blu avatar therandomgamrtrg avatar therolffr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

docs's Issues

Site build time is abnormally long

What happened?

When making a new commit to this GitHub repository, the site automatically deploys and builds on our VPS. However, the images have not appeared to recompile in some months despite many of them changing. This results in outdated images even though they've been pushed to the repository.

To reproduce

  1. Change an image on the GitHub repository.
  2. Wait until the deployment has finished.
  3. Check the docs site, and notice that the image has not updated, even after clearing cache, using a different browser, or even a different device.

Screenshot(s)

Screen Shot 2023-03-19 at 9 30 15 AM

Screen Shot 2023-03-19 at 9 30 31 AM

Notice how the image on the docs site hasn't updated despite a commit being made nearly six months ago.

Browser name and version

Multiple browsers (tested on Chrome, Firefox, and Brave).

Notes

May be related to this commit or this commit, both of which optimized build times.

[Bug] 404 page doesn't use a transparent footer.

What happened?

When accessing https://docs.faithfulpack.net/404, the footer is not transparent as it should be, and instead renders gray. I would have expected the footer to be transparent and blend in with the End background.

To reproduce

  1. Go to https://docs.faithfulpack.net/404.
  2. Scroll down.
  3. See that the footer is not transparent.

Screenshot(s)

Screen Shot 2023-03-21 at 8 04 41 AM

Browser name and version

  • Brave Version 1.49.120, Chromium: 111.0.5563.64

Notes

Pretty low priority but figured I'd bring it up here anyways

[Bug] Footer in light mode uses incorrect text color

What happened?

When using light mode on the docs site, the footer text remains white and is nearly invisible. It should instead change to black to match all other text.

To reproduce

  1. Go to the docs site
  2. Switch to light mode
  3. Scroll down to the footer
  4. Notice how the text remains white

Screenshot(s)

Screen Shot 2023-04-29 at 2 13 12 PM

Browser name and version

Brave Version 1.50.121
Chromium: 112.0.5615.138 (Official Build) (x86_64)

Notes

No response

[BUG] Links in table of contents don't scroll the screen far enough.

Problem

When using IDs such as in the table of contents on the docs site to find a specific entry (the texturing guidelines use this a lot), the screen doesn't move to the proper area and instead falls a bit short.

Expected Outcome

When using these URLs they move the screen down to the proper area.

Examples / How to reproduce

  1. Navigate to the following URL: https://docs.faithfulpack.net/pages/textures/texturing-guidelines#credits
  2. Notice how it doesn't actually move the screen to the credits section and stops a bit short.

[BUG] Marking an article as deprecated does literally nothing

Problem

When marking pages as deprecated, there is no indication that it is actually deprecated.

Expected

There is some sort of indication that a page is deprecated, like the orange bubble shown on the home page, and potentially a banner on the top of the article.

[Feature] Add an "archived" tag

I think it would be better to have an archived tag for the dungeons category instead of using the deprecated one, it would make more sense (as the deprecation is for something that's old & maybe inaccurate while archived means it won't move anymore)

[Features] Improve the navigation bar

I literally had no idea the navigation bar even existed until a few weeks ago, so it would be nice to make it a bit more user-friendly and visible.

  • When opened, let it stay open and you can keep using the docs site like normal. If it would just slide the text over to the right a bit instead of covering everything, it would be a lot more convenient to use and could even be opened by default when looking at a doc.

  • Have the categories open by default. Right now, to navigate to a specific page you have to click the specific category before doing so, it would be much more convenient to make it collapsable but open by default, similar to how Discord handles channel categories.

  • Make the theme settings consistent with either the main site or make the main site consistent with this — currently the main site has the theme settings in the footer but here and in the webapp it's on the sidebar, either way is fine just make it consistent.

[Long-term] VitePress rewrite

The current docs site is starting to break down — it's using a version of SvelteKit last updated well over a year ago, the image preprocessor is rapidly approaching an unusable state, and deployment takes ten times what it should.

To combat this, the site is being rewritten using VitePress, a framework actually designed for documentation. It has built in features like dark mode, search, and a dynamic table of contents., which should help make the site easier to maintain in the future and be more lightweight.

Build times for the docs site are really slow compared to every other faithfulpack.net site

Problem

When making changes to the docs site, the time from commit to finishing building takes several minutes. The main site and the webapp take around a minute if not less.

Expected Outcome

The site takes around a minute to build, similar to all the other https://faithfulpack.net based sites.

Notes

Pretty sure Robert said the issue is that the docs site compile all the images again on every commit unnecessarily, increasing build times.

Also not really a high priority change, just a nice quality of life addition that would make changes a lot easier to push.

[Feature] Improve table of contents to be more consistent with other documentation sites.

Describe the feature you'd like

Currently, the table of contents is on the right side of the screen and cannot be hidden. I don't know of like any site which uses the right side for a table of contents, either it's on the left like wikipedia or integrated into the sidebar.

I would like to suggest that we move the table of contents inside the navbar under a dropdown menu in the articles. When opening an article, it would automatically open and be visible, but you could collapse it at any time using an arrow button (similar to Discord categories) or even just hide the navigation menu.

Not only will this bring some valuable screen space back, but it's consistent with most other documentation sites (see the Discord.py documentation example attached below).

Screenshot(s)

image

Screen Shot 2023-03-21 at 7 54 35 AM

Notes

Also would be nice to try and fix issue #13 in the process.
EDIT: This has been implemented.

[Bug] Entire pages are off-center in specific scenarios.

What happened?

Pretty much exactly what the title says — by opening and collapsing the navigation menu in specific orders you can cause pages to not center properly.

To reproduce

  1. Go to https://docs.faithfulpack.net/.
  2. Open the navigation sidebar.
  3. Navigate to any article that does not contain a table of contents.
  4. Collapse the navigation sidebar.
  5. Notice how the whole page is off centered to the left.

This persists even after clicking through any number of articles and even on the home page, until you refresh the site.

Screenshot(s)

with the bug:
Screen Shot 2023-03-26 at 11 54 58 AM
how it's supposed to look:
Screen Shot 2023-03-26 at 11 55 13 AM

Browser name and version

Brave Version 1.49.128
Chromium: 111.0.5563.110

Notes

May be related to the table of contents since it seems to be offset by the right amount to make the table of contents fit if there was one.

Ideally implement #20 if this is part of the issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.