File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ def call
4646 node . replace ( "<p>#{ node . to_html } </p>" )
4747 end
4848
49+ css ( 'span[slot="popout-heading"]' ) . remove
50+ css ( 'span[slot="popout-contents"]' ) . remove
51+
4952 doc
5053 end
5154 end
Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ class Tensorflow < UrlScraper
1919 Code samples licensed under the Apache 2.0 License.
2020 HTML
2121
22+ version do
23+ self . release = "2.18.0"
24+ self . base_url = "https://www.tensorflow.org/api_docs/python/tf"
25+ end
26+
2227 version '2.9' do
2328 self . release = "2.9.1"
2429 self . base_url = "https://www.tensorflow.org/versions/r#{ version } /api_docs/python/tf"
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ class TensorflowCpp < Tensorflow
33 self . name = 'TensorFlow C++'
44 self . slug = 'tensorflow_cpp'
55
6+ version do
7+ self . release = "2.18.0"
8+ self . base_url = "https://www.tensorflow.org/api_docs/cc"
9+ end
10+
611 version '2.9' do
712 self . release = "2.9.1"
813 self . base_url = "https://www.tensorflow.org/versions/r#{ version } /api_docs/cc"
You can’t perform that action at this time.
0 commit comments