Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The website is unusable on mobile #534

Open
xigoi opened this issue Oct 31, 2021 · 3 comments
Open

The website is unusable on mobile #534

xigoi opened this issue Oct 31, 2021 · 3 comments

Comments

@xigoi
Copy link

xigoi commented Oct 31, 2021

Screenshot

The items on the right of the toolbar (Tutorial, etc.) are either covered by the GitHub badge (and can't be clicked) or completely off the screen.

(Note: I'm using Dark Reader, which explains the dark theme)

@Vindaar
Copy link
Collaborator

Vindaar commented Dec 29, 2021

If anyone has some decent knowledge of CSS and could attempt to fix the mobile layout, that would be greatly appreciated.

If I understand it correctly, it should all be here:

https://github.com/mratsim/Arraymancer/blob/master/docs/nav.css

@xigoi
Copy link
Author

xigoi commented Jan 1, 2022

I can try that. But when I enter nimble gen_docs, I get the following error:

  Executing task gen_docs in /home/xigoi/forks/Arraymancer/arraymancer.nimble
stack trace: (most recent call last)
/tmp/nimblecache-2893754277/nimscriptapi_3547287949.nim(187, 16)
/home/xigoi/forks/Arraymancer/arraymancer.nimble(282, 14) gen_docsTask
/home/xigoi/forks/Arraymancer/docs/docs.nim(156, 20) buildDocs
/home/xigoi/forks/Arraymancer/docs/docs.nim(44, 11) execAction
/home/xigoi/.choosenim/toolchains/nim-1.6.0/lib/system/assertions.nim(38, 26) failedAssertImpl
/home/xigoi/.choosenim/toolchains/nim-1.6.0/lib/system/assertions.nim(28, 11) raiseAssert
/home/xigoi/.choosenim/toolchains/nim-1.6.0/lib/system/fatal.nim(53, 5) sysFatal
/home/xigoi/.choosenim/toolchains/nim-1.6.0/lib/system/fatal.nim(53, 5) Error: unhandled exception: /home/xigoi/forks/Arraymancer/docs/docs.nim(44, 12) `ret == 0` Command failed: 1
cmd: /home/xigoi/.choosenim/toolchains/nim-1.6.0/bin/nim buildIndex -o:/tmp/nimblecache-2893754277/arraymancer_2972872318/docs/build/theindex.html /tmp/nimblecache-2893754277/arraymancer_2972872318/docs/build
result:
oserr.nim(95)            raiseOSError
Error: unhandled exception: No such file or directory
Additional info: /tmp/nimblecache-2893754277/arraymancer_2972872318/docs [OSError] [AssertionDefect]
     Error: Exception raised during nimble script execution

@mratsim
Copy link
Owner

mratsim commented Jan 3, 2022

Known issue: #169

I'm open to anything, ideally we have better doc generator like what @haxscramper has been working on (https://github.com/haxscramper/haxdoc) or Sphinx integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants