<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Nim/nimdoc/testproject/expected/testproject.html, branch devel</title>
<subtitle>This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)
</subtitle>
<id>https://git.tilde.institute/ahoang/Nim/atom?h=devel</id>
<link rel='self' href='https://git.tilde.institute/ahoang/Nim/atom?h=devel'/>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/'/>
<updated>2024-05-27T09:00:25Z</updated>
<entry>
<title>Prevent font flashing in the docs (#23622)</title>
<updated>2024-05-27T09:00:25Z</updated>
<author>
<name>Nils Lindemann</name>
<email>nilslindemann@tutanota.com</email>
</author>
<published>2024-05-27T09:00:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=ce85b819ff63b5e9ca57dfe7d4d520851921802e'/>
<id>urn:sha1:ce85b819ff63b5e9ca57dfe7d4d520851921802e</id>
<content type='text'>
... by moving the Google font includes near the top of the head. By
including them as early as possible, they are known, when the browser
starts rendering the body.

Test it by making the change manually in `doc/html/system.html` and then
press ctrl+f5 (reload without cache). This removes the font flashing.

Tested in Chrome and Firefox.</content>
</entry>
<entry>
<title>closes #15176; adds a test case (#23248)</title>
<updated>2024-01-22T14:32:10Z</updated>
<author>
<name>ringabout</name>
<email>43030857+ringabout@users.noreply.github.com</email>
</author>
<published>2024-01-22T14:32:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=be0b8472130112ad570a6720a0e3a34e67936619'/>
<id>urn:sha1:be0b8472130112ad570a6720a0e3a34e67936619</id>
<content type='text'>
closes #15176</content>
</entry>
<entry>
<title>Make `data-theme` default to "auto" in HTML (#23222)</title>
<updated>2024-01-19T13:04:30Z</updated>
<author>
<name>Jake Leahy</name>
<email>jake@leahy.dev</email>
</author>
<published>2024-01-19T13:04:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=1855f67503e6c541f3d8c38c3ec28c0fbb02be1a'/>
<id>urn:sha1:1855f67503e6c541f3d8c38c3ec28c0fbb02be1a</id>
<content type='text'>
Makes docs default to using browser settings instead of light mode

This should fix #16515 since it doesn't require the browser to run the
JS to set the default

Also means that dark mode can be used without JS if the browser is
configured to default to dark mode</content>
</entry>
<entry>
<title>fix spurious indent and newlines in rendering of nkRecList (#23121)</title>
<updated>2023-12-24T14:22:10Z</updated>
<author>
<name>metagn</name>
<email>metagngn@gmail.com</email>
</author>
<published>2023-12-24T14:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=fc49c6e3ba5081593e4d9af7e04bfb84e97a39f5'/>
<id>urn:sha1:fc49c6e3ba5081593e4d9af7e04bfb84e97a39f5</id>
<content type='text'>
Rendering of `nkRecList` produces an indent and adds a new line at the
end. However for things like case object `of`/`else` branches or `when`
branches this is already done, so this produces 2 indents and an extra
new line. Instead, just add an indent in the place where the indent that
`nkRecList` produces is needed, for the rendering of the final node of
`nkObjectTy`. There doesn't seem to be a need to add the newline.

Before:

```nim
case x*: bool
of true:
    y*: int

of false:
  nil
```

After:

```nim
case x*: bool
of true:
  y*: int
of false:
  nil
```</content>
</entry>
<entry>
<title>fix #22492 (#22511)</title>
<updated>2023-08-22T16:31:21Z</updated>
<author>
<name>Hamid Bluri</name>
<email>hr.bolouri@gmail.com</email>
</author>
<published>2023-08-22T16:31:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=a26ccb34768fdaceff2cf4d27aee4c830fd47303'/>
<id>urn:sha1:a26ccb34768fdaceff2cf4d27aee4c830fd47303</id>
<content type='text'>
* fix #22492

* Update nimdoc.css

remove scroll-y

* Update nimdoc.out.css

* Update nimdoc.css

* make it sticky again

* Update nimdoc.out.css

* danm sticky, use fixed

* Update nimdoc.out.css

* fix margin

* Update nimdoc.out.css

* make search input react to any change (not just keyboard events) according to https://github.com/nim-lang/Nim/pull/22511#issuecomment-1685218787</content>
</entry>
<entry>
<title>Fix non-toplevel fields in objects not getting rendered (#22266)</title>
<updated>2023-07-16T17:46:18Z</updated>
<author>
<name>Jake Leahy</name>
<email>jake@leahy.dev</email>
</author>
<published>2023-07-16T17:46:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=17915d93bfb50aaff6c4bf77fe25707705e557c8'/>
<id>urn:sha1:17915d93bfb50aaff6c4bf77fe25707705e557c8</id>
<content type='text'>
* Add example object into testproject

The proc is there to check the case of an identDef being inside an identDef (We do want to render those even if they are not exported)

* Add `inside` set to `TSrcGen` which allows us to see what context we are in

This is done instead of adding another inXyz bool parameter

We then use this to know if we are inside an object when rendering an nkIdentDefs (To know if we need to skip rendering it)

* Update test files</content>
</entry>
<entry>
<title>fixes #21483; fixes nim doc skips documentation of annotated elements of objects  (#21743)</title>
<updated>2023-04-29T13:30:44Z</updated>
<author>
<name>ringabout</name>
<email>43030857+ringabout@users.noreply.github.com</email>
</author>
<published>2023-04-29T13:30:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=8e0f336f6dab061bd4dd0a07f4b436bbbe78138d'/>
<id>urn:sha1:8e0f336f6dab061bd4dd0a07f4b436bbbe78138d</id>
<content type='text'>
* fixes #21483; skipPragmaExpr

* add a test case for #21483

* fixes HTML</content>
</entry>
<entry>
<title>fixes #19396; Nimdoc hide nonexported fields (#21305)</title>
<updated>2023-02-01T07:13:40Z</updated>
<author>
<name>ringabout</name>
<email>43030857+ringabout@users.noreply.github.com</email>
</author>
<published>2023-02-01T07:13:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=ff8ab06720976f18d75257a22bf8e23873514c67'/>
<id>urn:sha1:ff8ab06720976f18d75257a22bf8e23873514c67</id>
<content type='text'>
* suppresses non-exported fields of types and adds command-line option to re-enable this if desired

* corrected the doctest that produced a CI error

* an embarrassingly bad error in reasoning

* modified a nimdoc test to reflect updated behavior

* needed another change to bring utils.html doctest in sync with update

* add info

* fix nimdoc

* lint

* render postfix

* fixes a problem

* fixes nimdoc

* fix nimdoc

---------

Co-authored-by: johnperry-math &lt;john.perry@usm.edu&gt;
Co-authored-by: johnperry-math &lt;devotus@yahoo.com&gt;</content>
</entry>
<entry>
<title>Make async stacktraces less verbose (#21091)</title>
<updated>2022-12-15T15:05:34Z</updated>
<author>
<name>Jake Leahy</name>
<email>jake@leahy.dev</email>
</author>
<published>2022-12-15T15:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=d88f46df388604c1d21a2a95482c3255dc5884b6'/>
<id>urn:sha1:d88f46df388604c1d21a2a95482c3255dc5884b6</id>
<content type='text'>
* Name iterators something human readable

Remove intermediate async procs from stacktraces

Clean async traceback message from reraises message

* Remove unused import/variable

* Fix failing tests

Don't add {.stackTrace: off.} to anonymous procs (They already don't appear in stacktrace)

* Fix failing tests in pragma category

Now check that the nim is a routine type first so we don't run into any assertion defects

* Hide stack trace pragma in docs and update doc tests

User doesn't need to know if something won't appear so this more becomes verbose noise

If this is a bad idea we can always add a `when defined(nimdoc)` switch so we don't add {.stackTrace: off.} to the Future[T] returning proc for docs</content>
</entry>
<entry>
<title>Docs expand `using` parameters  (#21076)</title>
<updated>2022-12-12T06:44:17Z</updated>
<author>
<name>Jake Leahy</name>
<email>jake@leahy.dev</email>
</author>
<published>2022-12-12T06:44:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=cbeefc877cd752cd2e19a82fe3aa2914912f3182'/>
<id>urn:sha1:cbeefc877cd752cd2e19a82fe3aa2914912f3182</id>
<content type='text'>
* Trying to fix by changing renderer

* add renderExpandUsing flag

This flag makes the renderer expand parameters that use using statement to have their full type

* Update docs

* Make comment better explain why checking for nkSym

* Fix nil access when macro/template has parameter with no type

* Fix nil access when node is not semmed yet</content>
</entry>
</feed>
