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

Networking category to @nativescript/core and added the docs for the Color, Connectivity, and HTTP modules as its subcategories. #87

Open
wants to merge 106 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
87a6f6a
Added API description for the Payments: IAP & Subscriptions plugin
Jun 13, 2022
f9452d0
Added @nativescript/core subcategories names and their links.
Jun 18, 2022
ce4e1ed
I created the nativescript-core directory and moved the @nativescrip…
Ombuweb Jun 18, 2022
2c22083
Moved it to nativescript-core folder and added Connection Types info
Ombuweb Jun 18, 2022
7c39be2
Added the documentation for the subcategory
Ombuweb Jun 18, 2022
c7e2507
It was moved to nativescript-core folder
Ombuweb Jun 18, 2022
469929d
Removed broken/inconsistent links (API reference sections ) from http…
Ombuweb Jun 19, 2022
1505164
Added Application.android properties info
Ombuweb Jun 20, 2022
255d4a7
Added back API References section with full links
Ombuweb Jun 21, 2022
2f7ead2
Added back the API References section
Ombuweb Jun 21, 2022
c4250dc
Completed the docs of Android API part of the Application module
Ombuweb Jun 21, 2022
3aa4793
Added more content
Ombuweb Jun 22, 2022
a799594
Completed the Application module category
Ombuweb Jun 23, 2022
b7f931d
Remove the unnecessary flavor tabs
Ombuweb Jun 24, 2022
c3ffeb6
Merge remote-tracking branch 'origin/develop' into pr/87
NathanWalker Jul 8, 2022
15d397f
chore: adjusting header order and naming
NathanWalker Jul 8, 2022
9310ce5
Added ApplicationSettings link
Ombuweb Jul 9, 2022
7ee4567
Edited content
Ombuweb Jul 9, 2022
b809634
Editted content
Ombuweb Jul 9, 2022
2f9abb5
Completed the category
Ombuweb Jul 9, 2022
8624d72
Merge branch 'develop' of https://github.com/Ombuweb/docs-new into de…
Ombuweb Jul 9, 2022
bf24b88
Some FileSystem content
Ombuweb Jul 9, 2022
ca02558
Added Platform link
Ombuweb Jul 10, 2022
f676d76
Completed platform category
Ombuweb Jul 10, 2022
2970383
Some code tested, more testing to be done
Ombuweb Jul 10, 2022
8c1e8a0
Editted
Ombuweb Jul 11, 2022
cb19235
Fixed some broken links, more to be fixed
Ombuweb Jul 11, 2022
a404913
Completed
Ombuweb Jul 11, 2022
5e2d783
Completed
Ombuweb Jul 11, 2022
d368044
Added Screen class reference
Ombuweb Jul 11, 2022
6e7a1d4
Fixed all the broken links
Ombuweb Jul 11, 2022
0e9d8c7
Fixed all broken links( links to api-reference )
Ombuweb Jul 12, 2022
4b3e334
Refactored UI & Styling
Ombuweb Jul 12, 2022
6fff89e
Added some of the content
Ombuweb Jul 12, 2022
313fbbc
Done some Webpack refactoring
Ombuweb Jul 12, 2022
6f4ddca
Completed ImageSource
Ombuweb Jul 13, 2022
6003bd0
Added references
Ombuweb Jul 13, 2022
2f2645d
Fix
Ombuweb Jul 13, 2022
3cbfdd0
Added some content
Ombuweb Jul 13, 2022
663ce6f
Webpack refactoring completed
Ombuweb Jul 13, 2022
c364ddc
Completed
Ombuweb Jul 14, 2022
c41a916
Added Some content
Ombuweb Jul 15, 2022
86865b1
Added content. WIP
Ombuweb Jul 15, 2022
9f01b7d
Completed
Ombuweb Jul 16, 2022
98dbf64
Changed directory
Ombuweb Jul 16, 2022
b1bb704
Added some content
Ombuweb Jul 16, 2022
cce6530
Completed
Ombuweb Jul 17, 2022
4ecf540
Added some content
Ombuweb Jul 17, 2022
68db371
Completed
Ombuweb Jul 19, 2022
d4c6a86
Added some content and activated its link
Ombuweb Jul 19, 2022
241434e
Replaced a word
Ombuweb Jul 19, 2022
730cbdc
Added some content
Ombuweb Jul 20, 2022
89774df
completed
Ombuweb Jul 20, 2022
172d699
Content improved
Ombuweb Jul 20, 2022
c16ec69
Imporoved
Ombuweb Jul 21, 2022
c256567
Added some content
Ombuweb Jul 21, 2022
51da777
Modified the content
Ombuweb Jul 22, 2022
e23af69
Fixed broken links
Ombuweb Jul 22, 2022
feaa69d
Created this file
Ombuweb Jul 22, 2022
bef6a84
Updated content
Ombuweb Jul 22, 2022
a313aa8
Added some content
Ombuweb Jul 23, 2022
a258aae
completed
Ombuweb Jul 23, 2022
959bab4
Added some links and a new file
Ombuweb Jul 23, 2022
0b0a1f0
Updated
Ombuweb Jul 23, 2022
f9dd50e
Modified the trace module and added error handling file
Ombuweb Jul 24, 2022
38b6d5c
Polished
Ombuweb Jul 25, 2022
f83218a
Removed it, not necessary
Ombuweb Jul 25, 2022
fb607b5
Added the articles
Ombuweb Jul 27, 2022
f7937f5
Added these articles,to be completed
Ombuweb Jul 27, 2022
3a285ec
Added more content
Ombuweb Jul 28, 2022
8c1741d
Completed
Ombuweb Jul 29, 2022
1d53450
Added content and images
Ombuweb Jul 29, 2022
bf09eca
Corrected a tab
Ombuweb Jul 29, 2022
c763517
Added more content
Ombuweb Jul 31, 2022
db9be74
Added Nested Navigation content
Ombuweb Aug 1, 2022
05a75ae
Added some content
Ombuweb Aug 1, 2022
5ed6e40
Added content
Ombuweb Aug 2, 2022
fbd5304
Remove redundant link
Ombuweb Aug 2, 2022
cfd3794
Fixed the content
Ombuweb Aug 3, 2022
0351c3a
Added content
Ombuweb Aug 3, 2022
a2c8ed4
Rearranged content
Ombuweb Aug 3, 2022
b074e7b
Created this file
Ombuweb Aug 4, 2022
04b87f4
Added Memory Management link
Ombuweb Aug 4, 2022
665051e
Completed
Ombuweb Aug 6, 2022
dc8ee08
setup structure for "Components" docs. Added it to "nav" for providi…
Ombuweb Aug 9, 2022
1771ce5
Added corrected images
Ombuweb Aug 10, 2022
011b47a
Created the files and moved content to them from "components.md"
Ombuweb Aug 11, 2022
fdf9f72
Added and removed links
Ombuweb Aug 11, 2022
6405afa
Moved from "ui" folder to "components"
Ombuweb Aug 11, 2022
b46cee0
Created the files
Ombuweb Aug 13, 2022
e70cf86
Added content
Ombuweb Aug 13, 2022
e7ea4be
Updated
Ombuweb Aug 14, 2022
fd5f48d
fix: added Preview
Ombuweb Sep 19, 2022
72ae9df
fix: added Preview
Ombuweb Sep 19, 2022
9b96c59
fix: added Preview
Ombuweb Sep 19, 2022
f216f82
chore: clean up
Ombuweb Sep 19, 2022
59309c1
feat: added Preview
Ombuweb Sep 19, 2022
5a8a4e0
fix: python install correction
Ombuweb Oct 4, 2022
a5101c9
fix: referencing tailwind
Ombuweb Oct 5, 2022
4162fa0
fix: added new methods
Ombuweb Oct 5, 2022
788878b
fix: development workflow restructured and debugging WIP
Ombuweb Oct 17, 2022
2316296
chore: WIP only images left before it's completed
Ombuweb Oct 18, 2022
f18a02c
chore: done
Ombuweb Oct 18, 2022
d51c62e
chore: Corrected the nesting of the ON THIS PAGE links
Ombuweb Oct 18, 2022
a33eabb
fix: added image
Ombuweb Oct 19, 2022
486da62
feat: added the Fps Meter module
Ombuweb Oct 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added ._.DS_Store
Binary file not shown.
Empty file modified .github/workflows/scrape-plugins.yml
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .husky/.gitignore
100644 → 100755
Empty file.
Empty file modified .prettierignore
100644 → 100755
Empty file.
Empty file modified .prettierrc
100644 → 100755
Empty file.
266 changes: 247 additions & 19 deletions .vitepress/config.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,18 @@ module.exports = {

nav: [
{
text: 'Docs',
text: 'Guides',
link: '/introduction',
activeMatch: '^/(?!plugins)',
},
{
text: 'Components',
link: '/components/index',
activeMatch: '^/components',
},
{
text: 'API',
link: '/api-reference',
link: 'https://docs.nativescript.org/api-reference',
activeMatch: '^/api-reference',
target: '_blank',
},
Expand Down Expand Up @@ -102,7 +107,7 @@ module.exports = {
sidebar: {
'/best-practices/': getBestPracticeSidebar(),
'/plugins/': getPluginsSidebar(),

'/components/': getComponentsSidebar(),
// fallback
'/': getSidebar(),
},
Expand Down Expand Up @@ -490,6 +495,8 @@ function getSidebar() {
text: 'Basics',
children: [
{ text: 'Introduction', link: '/introduction' },
{ text: 'Application Architecture', link: '/application-architecture' },
{ text: 'Project Structure', link: '/project-structure' },
{
text: 'Environment Setup',
link: '/environment-setup',
Expand All @@ -509,38 +516,116 @@ function getSidebar() {
],
},
{
text: 'Running & Building',
text: 'Development Workflow',
children: [
{
text: 'Webpack',
link: '/webpack',
text: 'CLI Basics',
link: '/development-workflow/cli-basics',
},
{
text: 'Debugging',
link: '/development-workflow/debugging',
},
{
text: 'Running on Virtual Device',
link: '/development-workflow/running-on-virtual-device',
},
{
text: 'Running on Physical Device',
link: '/development-workflow/running-on-physical-device',
},
/*{
text: 'HMR',
link: '/development-workflow/hmr'
},*/
{
text: 'Testing',
link: '/development-workflow/testing',
},
{
text: 'Using Packages',
link: '/development-workflow/using-packages',
},
{
text: 'Updating',
link: '/development-workflow/updating',
},
{
text: 'Choosing an Editor',
link: '/development-workflow/choosing-an-editor',
},
],
},
{
text: 'UI & Styling',
text: 'App_Resources',
children: [
{
text: 'App_Resources',
text: 'Understanding App_Resources',
link: '/app-resources',
},
{
text: 'UI & Styling',
link: '/ui-and-styling',
},
{ text: 'Interaction', link: '/interaction' },
],
},
{
text: 'Networking',
text: '@nativescript/core',
children: [
{ text: 'Application', link: '/nativescript-core/application' },
{
text: 'ApplicationSettings',
link: '/nativescript-core/application-settings',
},
{ text: 'Color', link: '/nativescript-core/color' },
{ text: 'Connectivity', link: '/nativescript-core/connectivity' },
//{ text: 'Virtual Array', link: '/nativescript-core/virtual-array' },
{ text: 'FileSystem', link: '/nativescript-core/file-system' },
{ text: 'Fps Meter', link: '/nativescript-core/fps-meter' },
{ text: 'Http', link: '/nativescript-core/http' },
{ text: 'ImageSource', link: '/nativescript-core/image-source' },
{ text: 'Observable', link: '/nativescript-core/observable' },
{
text: 'Observable Array',
link: '/nativescript-core/observable-array',
},
{ text: 'Platform', link: '/nativescript-core/platform' },
{ text: 'Trace', link: '/nativescript-core/trace' },
{ text: 'Utils', link: '/nativescript-core/utils' },
{ text: 'Xml Parser', link: '/nativescript-core/xml-parser' },
],
},
{
text: '@nativescript/webpack',
children: [
{ text: 'Http', link: '/http' },
{
text: 'Connectivity',
link: '/connectivity',
text: 'Overview',
link: 'webpack/overview',
},
{
text: 'Flags & their usage',
link: 'webpack/flags-and-their-usage',
},

{
text: 'Using .env files',
link: 'webpack/using-dot-env-files',
},
{
text: 'Global "magic" variables',
link: 'webpack/global-magic-variables',
},
{
text: 'Examples of configurations',
link: 'webpack/examples-of-configurations',
},
{
text: 'Plugin API',
link: 'webpack/plugin-api',
},
{
text: 'Webpack API',
link: 'webpack/api',
},
],
},

// {
// text: 'Performance',
// children: [{ text: 'Webpack/Bundle Optimizations', link: '/performance' }],
Expand All @@ -559,11 +644,40 @@ function getSidebar() {
],
},
{
text: 'Advanced Concepts',
text: 'Architecture Concepts',
children: [
{
text: 'Advanced Concepts',
text: 'Data Binding',
link: '/architecture-concepts/data-binding',
},
{
text: 'Adding Objective C/Swift Code',
link: '/architecture-concepts/adding-objectivec-swift-code',
},
{ text: 'Navigation', link: '/architecture-concepts/navigation' },
{
text: 'Marshalling',
link: '/architecture-concepts/marshalling',
},
{
text: 'Metadata',
link: '/architecture-concepts/metadata',
},
{
text: 'Memory Management',
link: '/architecture-concepts/memory-management',
},
{
text: 'Custom Application and Activity',
link: '/architecture-concepts/custom-application-and-activity',
},
/*{
text: 'Layout Process',
link: '/advanced-concepts',
},*/
{
text: 'Property System',
link: '/architecture-concepts/property-system',
},
],
},
Expand Down Expand Up @@ -651,3 +765,117 @@ function getBestPracticeSidebar() {
},
]
}

function getComponentsSidebar() {
return [
{
text: 'Components',
children: [
{
text: 'Styling',
link: '/components/styling',
},
{
text: 'Interaction',
link: '/components/interaction',
},
{
text: 'ActionBar',
link: '/components/actionbar',
},
{
text: 'ActivityIndicator',
link: '/components/activityindicator',
},
{
text: 'Button',
link: '/components/button',
},
{
text: 'DatePicker',
link: '/components/datepicker',
},
{
text: 'Frame',
link: '/components/frame',
},
{
text: 'HtmlView',
link: '/components/htmlview',
},
{
text: 'Image',
link: '/components/image',
},
{
text: 'Label',
link: '/components/label',
},
{
text: 'ListPicker',
link: '/components/listpicker',
},
{
text: 'ListView',
link: '/components/listview',
},
{
text: 'Page',
link: '/components/page',
},
{
text: 'Placeholder',
link: '/components/placeholder',
},
{
text: 'Progress',
link: '/components/progress',
},
{
text: 'Repeator',
link: '/components/repeator',
},
{
text: 'ScrollView',
link: '/components/scrollview',
},
{
text: 'SearchBar',
link: '/components/searchbar',
},
{
text: 'SegmentedBar',
link: '/components/segmentedbar',
},
{
text: 'Slider',
link: '/components/slider',
},
{
text: 'Switch',
link: '/components/switch',
},
{
text: 'TabView',
link: '/components/tabview',
},
{
text: 'TextField',
link: '/components/textfield',
},
{
text: 'TextView',
link: '/components/textview',
},
{
text: 'TimePicker',
link: '/components/timepicker',
},
{
text: 'WebView',
link: '/components/webview',
},
],
},
]
}
Empty file modified .vitepress/theme/index.js
100644 → 100755
Empty file.
2 changes: 0 additions & 2 deletions .vitepress/theme/nativescript-theme/index.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,6 @@ function H(e, t, n, r, o, i, a, c, u) {
g && (f.__E = f.__ = null),
(f.__e = !1)
} else t.__e = M(n.__e, t, n, r, o, i, a, u)

;(l = s.diffed) && l(t)
} catch (e) {
s.__e(e, t, n)
Expand Down Expand Up @@ -8988,7 +8987,6 @@ var script = defineComponent({
})
watch(currentTab, function (next, prev) {
var _tabContainer$value, _tabContainer$value2

;(_tabContainer$value = tabContainer.value) === null ||
_tabContainer$value === void 0
? void 0
Expand Down
Empty file modified .vitepress/theme/nativescript-theme/plugins/code-blocks.js
100644 → 100755
Empty file.
Empty file modified .vitepress/theme/nativescript-theme/plugins/device-frame.js
100644 → 100755
Empty file.
Empty file modified .vitepress/theme/nativescript-theme/plugins/flavor-container.js
100644 → 100755
Empty file.
Empty file modified .vitepress/theme/nativescript-theme/plugins/index.js
100644 → 100755
Empty file.
Empty file modified .vitepress/theme/nativescript-theme/plugins/prism-lang-cli.js
100644 → 100755
Empty file.
Empty file modified .vitepress/theme/nativescript-theme/styles.css
100644 → 100755
Empty file.
8 changes: 4 additions & 4 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ npm i
npm start
```


## Important Note about Plugin Docs

Plugins docs are automatically synced every night via cron job with various plugin workspace repos, for example:
* https://github.com/NativeScript/firebase
* https://github.com/NativeScript/plugins
* https://github.com/NativeScript/payments

- https://github.com/NativeScript/firebase
- https://github.com/NativeScript/plugins
- https://github.com/NativeScript/payments

Each plugin workspace can manage it's own README's for documentation and this main central docs will keep itself in sync with them every night.
If you are wanting to modify any plugin documentation, you can do via their plugin workspaces as listed above.
Expand Down
Empty file modified advanced-concepts.md
100644 → 100755
Empty file.
Empty file modified app-resources.md
100644 → 100755
Empty file.
Loading