Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions OpenCloud.xcodeproj/xcshareddata/xcschemes/OpenCloud.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@
value = "0"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "OC_SETTINGS_DOC_JSON"
value = "${PROJECT_DIR}/doc/CONFIGURATION.json"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "OC_LOCALIZATION_ROOT"
value = "${PROJECT_DIR}/OpenCloud/Resources"
Expand Down
1 change: 1 addition & 0 deletions OpenCloudTests/Metadata/MetadataDocumentationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import XCTest
import OpenCloudSDK
import OpenCloudAppShared

// FIXME: delete all references to this file and then this file.
Copy link

Copilot AI Apr 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The FIXME comment is ambiguous about whether the file should be removed entirely or updated. Please clarify the intent or remove the file if it is no longer needed.

Copilot uses AI. Check for mistakes.
class MetadataDocumentationTests: XCTestCase {
func testUpdateConfigurationJSONFromMetadata() throws {
let sdkDocsURL = Bundle(for: type(of: self)).url(forResource: "class-settings-sdk", withExtension: nil)
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ Our iOS app is free for downloading available on the AppStore

#### 🌎 https://opencloud.eu

| Account List | File List | File Actions | Preview Files | Quick Access | Settings |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| <img src="doc/images/en-US/iPhone 11 Pro Max-11_ios_accounts_list_demo.png" alt="Simulator Screen Shot - iPhone 11 Pro"> | <img src="doc/images/en-US/iPhone 11 Pro Max-20_ios_files_list_demo.png" alt="Simulator Screen Shot - iPhone 11 Pro"> | <img src="doc/images/en-US/iPhone 11 Pro Max-21_ios_files_actions_demo.png" alt="Simulator Screen Shot - iPhone 11 Pro"> | <img src="doc/images/en-US/iPhone 11 Pro Max-22_ios_files_preview_pdf_demo.png" alt="Simulator Screen Shot - iPhone 11 Pro"> | <img src="doc/images/en-US/iPhone 11 Pro Max-40_ios_quick_access_demo.png" alt="Simulator Screen Shot - iPhone 11 Pro"> | <img src="doc/images/en-US/iPhone 11 Pro Max-60_ios_settings_demo.png" alt="Simulator Screen Shot - iPhone 11 Pro"> |

## 😍 Features

* 🦋 Using the current iOS frameworks
Expand Down
17 changes: 1 addition & 16 deletions tools/GenerateDocs/generate_docs.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
#!/bin/bash

# Run test to update CONFIGURATION.json
xcodebuild test \
-project ../../OpenCloud.xcodeproj \
-scheme OpenCloud \
-destination 'platform=iOS Simulator,name=iPhone 14,OS=latest' \
-only-testing OpenCloudTests/MetadataDocumentationTests/testUpdateConfigurationJSONFromMetadata

# Make temporary copy
cp ../../doc/CONFIGURATION.json .

# Run gomplate to generate the adoc
gomplate -f templates/configuration.adoc.tmpl --context config=CONFIGURATION.json -o configuration.adoc

# Copy result back and remove temporary copy
rm CONFIGURATION.json
cp configuration.adoc ../../doc/
# FIXME: delete all references to this file and then delete this file.
Loading