File size: 1,825 Bytes
d563645
 
 
 
 
 
 
 
6b4263a
 
e1e2d20
6b4263a
 
 
 
 
82bd48e
d563645
 
 
 
 
 
82bd48e
d563645
e1e2d20
82bd48e
 
e1e2d20
 
82bd48e
e1e2d20
82bd48e
6b4263a
 
 
 
e1e2d20
43cceb0
 
 
d67af40
a8ee367
e1e2d20
 
d67af40
43cceb0
 
 
d67af40
a69a9d7
 
 
 
43cceb0
 
35a3c2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a69a9d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#@ def base_url():
#@    if env.READTHEDOCS:
#@      return "https://pysr.readthedocs.io/en/" + env.READTHEDOCS_VERSION + "/"
#@    else:
#@      return None
#@ end


loaders:
  - type: python

processors:
  - type: filter
  - type: smart
  - type: crossref
renderer:
  type: hugo

  markdown:
    source_linker:
      type: github
      repo: MilesCranmer/PySR

  config:
    baseURL: #@ base_url()
    title: PySR
    theme: {clone_url: "https://github.com/alex-shpak/hugo-book.git"}
  # The "book" theme only renders pages in "content/docs" into the nav.

  build_directory: docs/build
  content_directory: content/docs

  default_preamble: {menu: main}
  pages:
    - title: Home
      name: index
      source: README.md
      directory: '..'
    - title: Getting started
      name: getting-started
      source: docs/start.md
      preamble: {weight: 1}
    - title: Features and Options
      name: options
      source: docs/options.md
      preamble: {weight: 2}
    - title: Operators
      name: operators
      source: docs/operators.md
      preamble: {weight: 3}
    - title: Examples
      name: examples
      source: docs/examples.md
      preamble: {weight: 4}
    - title: API Documentation
      contents:
        - pysr.sr.PySRRegressor.__init__
        - pysr.sr.PySRRegressor.fit
        - pysr.sr.PySRRegressor.predict
        - pysr.sr.PySRRegressor.__repr__
        - pysr.sr.PySRRegressor.set_params
        - pysr.sr.PySRRegressor.get_params
        - pysr.sr.PySRRegressor.get_best
        - pysr.sr.PySRRegressor.sympy
        - pysr.sr.PySRRegressor.latex
        - pysr.sr.PySRRegressor.jax
        - pysr.sr.PySRRegressor.pytorch
        - pysr.sr.PySRRegressor.refresh
        - pysr.sr.__repr__
        - pysr.sr.install
        - pysr.sr.silence_julia_warning
      preamble: {weight: 5}