Questions tagged [sections]

697 questions
12
votes
2 answers

How to update url hash when scrolling through sections in ReactJS

I've been struggling with that issue for 2 hours or so and can't find a way to do it. I would like to update my url hash (#home, #about etc..) when i'm scrolling through those sections and by the same way highlight the current section in my navbar.…
Kaaedan
  • 121
  • 4
11
votes
1 answer

ld: invalid string offset ... for section `.strtab'

I'm building a c++ project with GNU toolchain/gcc 4.9 on a new platform (debian stretch on a jetson K1 evalboard). The linker gives lots of messages like usr/bin/ld: ../../../../lib/libsomething.so: invalid string offset 3118 >= 2767 for section…
Philippos
  • 284
  • 2
  • 14
11
votes
1 answer

Remove section numbers latex

I have a problem with section numbering in latex. I want to remove the section numbers from headings and contents but I want the numbers to be there for lemmas, theorems etc. I want it to look like: Section Whatever Some unimportant text. …
Katarina
  • 111
  • 1
  • 1
  • 3
11
votes
1 answer

Make classes appear on TOC in Sphinx

I'm starting to document a few python classes using ext.autodoc. I have several *.rst files with content such as ======== mymodule ======== .. automodule:: mymodule .. autoclass:: myclassA :members: .. autoclass:: myclassB …
Stefan
  • 4,187
  • 1
  • 32
  • 38
11
votes
3 answers

Restructured Text (Sphinx) Image in Heading?

Is it possible to place an image inside of a heading using Restructured Text? Something like: Introduction .. image:: path/to/img.png --------------------------------------- This renders as text, i.e. the image syntax is not parsed. I have not…
Jzl5325
  • 3,898
  • 8
  • 42
  • 62
10
votes
2 answers

Mvc 3 Razor : Using Sections for Partial View?

I defined a section in partial view and I want to specify the content of section from view. But I can't figure out a way. In asp.net user controls, we can define asp:placeholders, and specify the content from aspx where user control lies. I'll be…
Muzaffer
  • 133
  • 1
  • 2
  • 7
10
votes
1 answer

Can Sphinx Section Numbering Skip Certain Sections (like a title)?

I am making a series of design documents in Sphinx and I would like to include them together in a toctree and have the sections within the documents numbered. I know that I can use .. sectnum:: to number all sections in the child pages. However,…
Randy
  • 908
  • 12
  • 30
10
votes
2 answers

Sphinx section numbering for more than level 3 headings: .. sectnum::

I am using Sphinx to generate pdf files from rst files. Sphinx automatically generates section numbers up to level 3 headings, as well as Table of Content up to this level. However, I want the headings at all levels being numbered and be in the TOC.…
user3006469
  • 101
  • 1
  • 1
  • 3
10
votes
4 answers

Too many sections, assembler error, using boost::spirit

I'm in the progress of writing a compiler for a subset of Java, using boost::spirit, for lexing and parsing. During compilation of the lexer/parser phase, the compiler consumes 1.6GB of RAM (g++ (GCC) 4.8.1), this is not an issue however, as there's…
Skeen
  • 4,614
  • 5
  • 41
  • 67
8
votes
3 answers

Table View Reload Sections Crashes

I have a table view with 4 sections and 1-2 table view cells per section. The first cell has a uiswitch as an accessory view and controls the color theme of the app, switching between day mode and night mode. Once the switch is hit a function is…
jcooper_82
  • 97
  • 1
  • 1
  • 8
7
votes
1 answer

How to separate Sphinx chapters within a single part into different files?

I'm using the wonderful Sphinx tool to create some documentation and I'm trying to keep the codebase in a modular form by separating chapters of the same part into separate files. (See here for definitions of 'chapter' and 'part'.) I've tried to do…
AZD
  • 279
  • 1
  • 8
7
votes
3 answers

How to make alphabetically section headers in table view with a mutable data source

I store strings of a view controller in a string array. I import this string array as a Data Source in my table view. This all works smoothly. But now I would like to sort the table view and add section headers. The section header should be from the…
Mikey
  • 131
  • 1
  • 2
  • 10
7
votes
0 answers

Why do section names start with a dot? Questions on naming sections

Until recently I thought that section names generally have to start with a dot .. However, When studying the sample linker file of my bare-metal-C-IDE, I noticed that there seems to be one exception: The section COMMON. .text : { …
Multisync
  • 767
  • 6
  • 25
7
votes
1 answer

Using self to create a sitemap with toctree in sphinx seem broken?

I'm updating a FAQ for a fairly big project and I would like to add an index of the questions at the top of the page, so it becomes easier for users to find what they're looking for. The Sphinx documentation toctree article states "The special entry…
Damgaard
  • 922
  • 1
  • 9
  • 17
6
votes
1 answer

Can't display multiple .md files in .rst toctree Sphinx

I can render my Readme.md files in Sphinx using recommonmark. But when I try to put in multiple Readme files in a .rst file toctree only the first one can be accessed from the documentation link. Kick! KVM ========= Source Code:…
Strommer
  • 313
  • 1
  • 2
  • 10
1
2
3
46 47